Repository API - read and replace topics for a repository

Today we're introducing additions to the repository topics preview. You can now Replace all repository topics.

You can also Get all repository topics specifically.

In addition to these new endpoints, the topics are also available as part of the payload in the Get a repository and search repositories endpoints.

To access the repository topics during the preview period, you must provide a custom media type in the Accept header:

application/vnd.github.mercy-preview+json

If you have any questions or feedback, please let us know!