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

Returns the version of the Gitea application

GET
/version
curl --request GET \
--url https://gitea.example.com/api/v1/version \
--header 'Authorization: Basic <credentials>'

ServerVersion

Media typeapplication/json

ServerVersion wraps the version of the server

object
version
string
Examplegenerated
{
"version": "example"
}