GraphQL API v4 - Get or search for topics list

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

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!

1 Like

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

Can you create a feature request for this ?

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

3 Likes

How can you do that GraphQL?