Skip to content

Overview

Forgejo API 16.0.0-dev-626-32363b81+gitea-1.22.0

Section titled “ Forgejo API 16.0.0-dev-626-32363b81+gitea-1.22.0 ”

This documentation describes the Forgejo API.

API 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