v1

latestOpenAPI 3.0.32026-07-24354865.6 KB
Repos

Repository list

Returns a paginated list of repositories for the specified provider service and owner username

Optionally filterable by:

  • a list of repository names
  • a search term which matches against the name
  • whether the repository is active or not
get/{service}/{owner_username}/repos/

Path parameters

owner_usernamestring required

username from service provider

service'bitbucket' | 'bitbucket_server' | 'github' | 'github_enterprise' | 'gitlab' | 'gitlab_enterprise' required

Git hosting service provider

Query parameters

activeboolean

whether the repository has received an upload

namesstring[]

list of repository names

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

searchstring

A search term.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}