How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Gitea settings API

The settings API from Gitea — 4 operation(s) for settings.

Gitea settings API is one of 13 APIs that Gitea publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 32 JSON Schema definitions.

Tagged areas include Settings. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, code examples, and 32 JSON Schemas.

This API exposes 4 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 2.0, at version 1.27.0+dev-89-gf52b6f3315.

Requests are made against the base URL https://gitea.com/api/v1.

4 operations 4 paths 4 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
1.27.0+dev-89-gf52b6f3315
Base URL
https://gitea.com/api/v1
Authentication
API Key, API Key, basic, API Key, API Key, API Key, API Key
License
Resource Areas
1

Authentication & Security 7

Gitea settings API declares 7 security schemes for authenticating requests. An API key is passed in the query as access_token (AccessToken). An API key is passed in the header as Authorization (AuthorizationHeaderToken). It defines a basic scheme (BasicAuth). An API key is passed in the header as Sudo (SudoHeader). An API key is passed in the query as sudo (SudoParam). An API key is passed in the header as X-GITEA-OTP (TOTPHeader). An API key is passed in the query as token (Token). By default, every request must be authenticated.

  • AccessToken — This authentication option is deprecated for removal in Gitea 1.23. Please use AuthorizationHeaderToken instead.
  • AuthorizationHeaderToken — API tokens must be prepended with "token" followed by a space.
  • SudoHeader — Sudo API request as the user provided as the key. Admin privileges are required.
  • SudoParam — Sudo API request as the user provided as the key. Admin privileges are required.
  • TOTPHeader — Must be used in combination with BasicAuth if two-factor authentication is enabled.
  • Token — This authentication option is deprecated for removal in Gitea 1.23. Please use AuthorizationHeaderToken instead.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

settings 4
GET
/settings/api
Get instance's global settings for api
getGeneralAPISettings → 200
GET
/settings/attachment
Get instance's global settings for Attachment
getGeneralAttachmentSettings → 200
GET
/settings/repository
Get instance's global settings for repositories
getGeneralRepositorySettings → 200
GET
/settings/ui
Get instance's global settings for ui
getGeneralUISettings → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are GeneralRepoSettings (6 properties), GeneralAPISettings (5 properties), GeneralAttachmentSettings (4 properties), GeneralUISettings (3 properties). Each schema is shown below with its type and property counts.

GeneralUISettings
object
GeneralUISettings contains global ui settings exposed by API
3 properties
GeneralRepoSettings
object
GeneralRepoSettings contains global repository settings exposed by API
6 properties
GeneralAPISettings
object
GeneralAPISettings contains global api settings exposed by it
5 properties
GeneralAttachmentSettings
object
GeneralAttachmentSettings contains global Attachment settings exposed by API
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitea-settings-api-openapi.yml Raw ↑

Other APIs Gitea publishes across the network.

Gitea Actions API
Gitea Package Registry
Gitea Webhooks
Gitea Cloud Management API
Gitea admin API
Gitea issue API
Gitea miscellaneous API
Gitea notification API
Gitea organization API
Gitea package API
Gitea repository API
Gitea user API
Where this information came from

This is an independent, third-party profile of Gitea settings API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.