Why 'topics' are not part of repository


Documentation says that when I get repository, topics is part of payload -> Repositories - GitHub Docs

But when I do https://api.github.com/repos/asyncapi/generator I don’t get it.

More importantly, when I try to access topics inside my GitHub Action workflow, it is also not there. When I do github.event.repository.topics I get a name but github.event.repository.topics returns nothing.

My question is, when do you plan to add topics to events, or are they already there but I try to access it in the wrong way. I’m super confused to see it in docs but not in real data.

I would appreciate any type of help


I use “https://api.github.com/repos/octocat/hello-world/topics” for now.

1 Like