跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 23.8.2, which is no longer the latest release. See the latest release.

Get languages and number of bytes of code written

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

Owner of the repo

repo
required
string

Name of the repo

LanguageStatistics

Media typeapplication/json
object
key
additional properties
integer format: int64
Examplegenerated
{
"additionalProperty": 1
}

APINotFound is a not found empty response

Media typeapplication/json