Skip to main content
POST
Verify Gitea access

Authorizations

Authorization
string
header
required

API key or session token (Bearer)

Body

application/json
projectId
string
required
Minimum string length: 1
baseUrl
string<uri>
required
accessToken
string
required
Minimum string length: 1
repositoryOwner
string
required
Minimum string length: 1
repositoryName
string
required
Minimum string length: 1

Response

Verification result

isInstalled
boolean
required
hasRequiredPermissions
boolean
required
repositoryExists
boolean
required
repositoryPrivate
boolean | null
required
missingPermissions
string[]
required
message
string
required

A human-readable summary to show the user.

failureReason
enum<string> | null
required

Why verification failed, when it did. redirected usually means the base URL is behind a proxy that rewrites it.

Available options:
not_a_gitea_instance,
redirected,
repository_not_found,
null