Git Providers

Create a Gitea Personal Access Token provider

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)
  • URL: /api/git-providers/gitea/pat
  • 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 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

No recorded changes to this operation across all 50 revisions of this API.