Skip to content

Replace list of topics for a repository

PUT
/repos/{owner}/{repo}/topics
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

RepoTopicOptions a collection of repo topic names

object
topics

List of topic names

Array<string>
Example generated
{
"topics": [
"example"
]
}

APIEmpty is an empty response

Media type application/json

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}

APIInvalidTopicsError is error format response to invalid topics

Media type application/json
object
invalidTopics
Array<string>
message
string
Example generated
{
"invalidTopics": [
"example"
],
"message": "example"
}