Git Providers

Create a Gitea Personal Access Token provider

Changed on
post/git-providers/gitea/pat

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

base_urlstring required

HTTPS base URL of the Gitea instance, e.g. https://git.example.com.

namestring required

Display name for this provider.

tokenstring password required

Personal access token issued by the Gitea instance.

Response

Gitea PAT provider created successfully

auth_methodstring required
base_urlstring nullable
created_atstring date-time required
idinteger required
is_activeboolean required
is_defaultboolean required
namestring required
provider_typestring required
updated_atstring date-time required

Changes