Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Get repo licenses

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

Owner of the repo

repo
required
string

Name of the repo

LicensesList

Media typeapplication/json
Array<string>
Examplegenerated
[
"example"
]

APINotFound is a not found empty response