repo-labels
Get repository label (beta)
Retrieve a repository label associated with an organization and label ID.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo-label:list
get/orgs/{org_slug}/repos/labels/{label_id}
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/repos/labels/{label_id}
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
org_slugstring required
The slug of the organization
label_idstring required
The ID of the label
Response
Returns a specific repository label for the specified organization. The authenticated user must be a member of the organization.
Changes
No recorded changes to this operation across all 2 revisions of this API.