Check access to the repository
POST/v1/sources/:id/check
Lists the ref on GitHub with the repository's credential, without cloning, and records the result. Missing access is not an HTTP error: it comes in access_status and last_check_error.
Request​
Responses​
- 200
- 401
- 403
- 404
- 503
OK
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
INSUFFICIENT_SCOPE (see above) or FEATURE_NOT_ENABLED — the operation is not enabled for the organization (the same permission that enables the screen in the console); details: { permission }.
NOT_FOUND
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).