gitea.io

This documentation describes the Gitea API.

🔑 apikey 325 endpoints developer_tools
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (7 total)

pip install giteapy
go get github.com/ergoapi/gitea-sdk
go get github.com/OpenCSGs/gitea-go-sdk
go get github.com/Unity-Technologies/gitea-sdk
go get github.com/ssdev-go/gitea-sdk
gem install gitea-client
cargo add gitea-rust-sdk
curl examples
Get list of organizations
curl \
  # append ?access_token=$API_KEY to the URL \
  /orgs
Get the authenticated user
curl \
  # append ?access_token=$API_KEY to the URL \
  /user
Returns the version of the Gitea application
curl \
  # append ?access_token=$API_KEY to the URL \
  /version
Endpoints (325 total)
GET
/orgs
Get list of organizations
GET
/user
Get the authenticated user
GET
/version
Returns the version of the Gitea application
GET
/nodeinfo
Returns the nodeinfo of the Gitea application
GET
/user/keys
List the authenticated user's public keys
GET
/user/orgs
List the current user's organizations
GET
/admin/cron
List cron tasks
GET
/admin/orgs
List all organizations
GET
/orgs/{org}
Get an organization
GET
/teams/{id}
Get a team
GET
/user/repos
List the repos that the authenticated user owns
GET
/user/teams
List all the teams a user belongs to
Language coverage
Python
1
Go
4
Ruby
1
Rust
1
At a glance
Total SDKs7
Languages4
Endpoints325
Authapikey
Categories1