repos
Get repository
Changed onRetrieve a repository associated with an organization.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo:list
get/orgs/{org_slug}/repos/{repo_slug}
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/repos/{repo_slug}
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
org_slugstring required
The slug of the organization
repo_slugstring required
The slug of the repository
Query parameters
branchstring
An optional branch name to evaluate against the default branch and effective tracked branch patterns.
workspacestring
The workspace of the repository
Response
Lists repositories for the specified organization. The authenticated user must be a member of the organization.
Changes
- info
added the new optional
queryrequest parameterbranch - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info