Skip to main content
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
Returns:
  • 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

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.CheckRepositoryAccessRequest

Response

gitpod.v1.CheckRepositoryAccessResponse