Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of the next version, still under development. See the latest release.

Subscribe user to issue

PUT
/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
curl --request PUT \
--url https://gitea.com/api/v1/repos/example/example/issues/1/subscriptions/example \
--header 'Authorization: Basic <credentials>'
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

Username of the user to subscribe the issue to

Already subscribed

Successfully Subscribed

User can only subscribe itself if he is no admin

APINotFound is a not found empty response