Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of 1.25.5, which is no longer the latest release. See the latest release.

Returns the nodeinfo of the Gitea application

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

NodeInfo

Media typeapplication/json

NodeInfo contains standardized way of exposing metadata about a server running one of the distributed social networks

object
metadata

Metadata contains free form key value pairs for software specific values

object
openRegistrations

OpenRegistrations indicates if new user registrations are accepted

boolean
protocols

Protocols lists the protocols supported by this server

Array<string>
services

NodeInfoServices contains the third party sites this server can connect to via their application API

object
inbound

Inbound lists services that can deliver content to this server

Array<string>
outbound

Outbound lists services this server can deliver content to

Array<string>
software

NodeInfoSoftware contains Metadata about server software in use

object
homepage

Homepage is the URL to the homepage of this server software

string
name

Name is the canonical name of this server software

string
repository

Repository is the URL to the source code repository

string
version

Version is the version of this server software

string
usage

NodeInfoUsage contains usage statistics for this server

object
localComments

LocalComments is the total amount of comments made by users local to this server

integer format: int64
localPosts

LocalPosts is the total amount of posts made by users local to this server

integer format: int64
users

NodeInfoUsageUsers contains statistics about the users of this server

object
activeHalfyear

ActiveHalfyear is the amount of users that signed in at least once in the last 180 days

integer format: int64
activeMonth

ActiveMonth is the amount of users that signed in at least once in the last 30 days

integer format: int64
total

Total is the total amount of users on this server

integer format: int64
version

Version specifies the schema version

string
Examplegenerated
{
"metadata": {},
"openRegistrations": true,
"protocols": [
"example"
],
"services": {
"inbound": [
"example"
],
"outbound": [
"example"
]
},
"software": {
"homepage": "example",
"name": "example",
"repository": "example",
"version": "example"
},
"usage": {
"localComments": 1,
"localPosts": 1,
"users": {
"activeHalfyear": 1,
"activeMonth": 1,
"total": 1
}
},
"version": "example"
}