Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 4

GraphQL API v4 - Get or search for topics list

Solved! Go to Solution.

Hello,

 

Is it possible to fetch all topics or all features topics or just search for topics (featured if possible) with the GraphQL API ?

Should I consider using the v3 API and if yes, do you have any date where it will be safe for production ?

 

I'm looking for a way to add Topic Suggestion or searching topics in my app.

 

Thank you

 

 

3 Replies
Community Manager
Message 2 of 4

Re: GraphQL API v4 - Get or search for topics list

No, it isn't currently possible to get a list of all topics, featured topics, or search for topics via GraphQL (or, to my knowledge, with REST for that matter). You can search for repositories with a given topic, however.

 

I hope that helps!

Copilot Lvl 3
Message 3 of 4

Re: GraphQL API v4 - Get or search for topics list

That's unfortunate, I guess I will hardcode a list of topics in my application.

 

Can you create a feature request for this ?

Solution
Community Manager
Message 4 of 4

Re: GraphQL API v4 - Get or search for topics list

Thanks for the feedback! I've taken your suggestion and passed it along to the appropriate teams. Thanks again for reaching out 😀


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!