Information
- License: This file is distributed under the MIT license for the purpose of interoperability
- OpenAPI version:
2.0
This documentation describes the Forgejo API.
Information
2.0API tokens must be prepended with “token” followed by a space.
Security scheme type: apiKey
Header parameter name: Authorization
Security scheme type: basic
Sudo API request as the user provided as the key. Admin privileges are required.
Security scheme type: apiKey
Header parameter name: Sudo
Sudo API request as the user provided as the key. Admin privileges are required.
Security scheme type: apiKey
Query parameter name: sudo
Must be used in combination with BasicAuth if two-factor authentication is enabled.
Security scheme type: apiKey
Header parameter name: X-FORGEJO-OTP