Skip to content

Subscribe user to issue

PUT
/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the issue

user
required
string

User to subscribe

Already subscribed

Media type application/json

Successfully Subscribed

Media type application/json

User can only subscribe itself if he is no admin

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"
}