Unary · Runners
Checks if a principal has read access to a repository.
Use this method to:
- Validate repository access before workflow execution
- Verify executor credentials for automation bindings
- has_access: true if the principal can read the repository
- FAILED_PRECONDITION if authentication is required
- INVALID_ARGUMENT if the repository URL is invalid
Examples
-
Check access:
Verifies read access to a repository.
Endpoint
https://app.ona.com with that domain.
Request example
Request
gitpod.v1.CheckRepositoryAccessRequest
Response
gitpod.v1.CheckRepositoryAccessResponse