Retrieves a single repository for a given owner

GET /api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/

Retrieves repository data for a single repository.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

owner (string)
REQUIRED

The owner of the repository.

repository (string)
REQUIRED

The name of the repository.

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied
.
Was this helpful?