Gitea

Verify Gitea access

Check that the base URL is a Gitea instance and that the token can reach the repository with the permissions Kaneo needs. Always 200 -- problems are reported in the body.

post/gitea-integration/verify

Request body

projectIdstring required
baseUrlstring uri required
accessTokenstring required
repositoryOwnerstring required
repositoryNamestring required

Response

Verification result

isInstalledboolean required
hasRequiredPermissionsboolean required
repositoryExistsboolean required
repositoryPrivateboolean nullable required
missingPermissionsstring[] required
messagestring required

A human-readable summary to show the user.

failureReason'not_a_gitea_instance' | 'redirected' | 'repository_not_found' | 'null' nullable required

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

Changes