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.

Star the given repo

PUT
/user/starred/{owner}/{repo}
curl --request PUT \
--url https://gitea.com/api/v1/user/starred/example/example \
--header 'Authorization: Basic <credentials>'
owner
required
string

Owner of the repo to star

repo
required
string

Name of the repo to star

APIEmpty is an empty response

APIError is error format response

message
string
url
string