v1

latestOpenAPI 3.0.02026-07-249055687.1 KB
repos

Get repository

Retrieve 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}

Path parameters

org_slugstring required

The slug of the organization

repo_slugstring required

The slug of the repository

Query parameters

workspacestring

The workspace of the repository

Response

Lists repositories for the specified organization. The authenticated user must be a member of the organization.

idstring required

The ID of the repository

created_atstring required

The creation date of the repository

updated_atstring required

The last update date of the repository

html_urlstring required

The URL to the repository dashboard page

head_full_scan_idstring nullable required

The ID of the head full scan of the repository

slugstring required

The slug of the repository.

namestring required

The name of the repository

descriptionstring nullable required

The description of the repository

homepagestring nullable required

The homepage URL of the repository

visibility'public' | 'private' required

The visibility of the repository

archivedboolean required

Whether the repository is archived or not

default_branchstring nullable required

The default branch of the repository

workspacestring required

The workspace of the repository

sligstring required

The slug of the repository. This typo is intentionally preserved for backwards compatibility reasons.