Retrieves list of repositories for a given owner
GET /api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/
Retrieves repository data for a given owner.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
owner(string)REQUIREDThe owner of the repository.
Query Parameters:
limit(integer)The number of results to return. If not specified, defaults to 20.
navigation(string)Whether to get the previous or next page from paginated results. Use
nextfor forward pagination after the cursor orprevfor backward pagination before the cursor. If not specified, defaults tonext. If no cursor is provided, the cursor is the beginning of the result set.cursor(string)The cursor pointing to a specific position in the result set to start the query from. Results after the cursor will be returned if used with
nextor before the cursor if used withprevfornavigation.term(string)The term substring to filter name strings by using the
containsoperator.
Scopes
You need to authenticate via bearer auth token.
<auth_token> requires one of the following scopes:org:adminorg:readorg:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied.
Was this helpful?