Forgejo miscellaneous API
The miscellaneous API from Forgejo — 14 operation(s) for miscellaneous.
Forgejo miscellaneous API is one of 10 APIs that Forgejo publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 14 operations across 14 paths, and defines 25 schemas. It is described by OpenAPI 2.0, at version 16.0.0-dev-465-4b83448b7d+gitea-1.22.0.
Requests are made against the base URL https://code.forgejo.org/api/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 5
Forgejo miscellaneous API declares
5 security schemes
for authenticating requests.
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-FORGEJO-OTP (TOTPHeader).
By default, every request must be authenticated.
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.
Paths & Operations 14
Across 14 paths, the API surfaces 14 operations — 11 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 25
The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are Repository (66 properties), User (23 properties), ActionRun (23 properties), Organization (12 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Forgejo 9
Other APIs Forgejo publishes across the network.
This is an independent, third-party profile of Forgejo miscellaneous 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.