GET
/repos/{owner}/{repo}/topicsGet all repository topics
Retrieves the topic names associated with a repository. Use page and per_page to paginate the results.
ownerstringrequired
The account owner of the repository; the name is not case-sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case-sensitive.
pageintegeroptional
The page number of results to retrieve. Defaults to 1 when omitted.
per_pageintegeroptional
The number of results per page, up to 100. Defaults to 30 when omitted.
200Returns an object containing the repository's topic names.
namesarray<string>required
404Returned when the repository cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 404 is returned when owner and repo do not identify an existing repository. Use page and per_page to paginate the results.