{% extends "docs/base.html" %} {% block docs_content %}
List repositories for a team or user owner.
GET /api/v1/teams/{team_slug}/repos
GET /api/v1/users/{username}/repos
Query parameters: page, per_page.
curl \
--header "Authorization: Bearer $PEARING_API_TOKEN" \
"$PEARING_API_URL/v1/teams/platform/repos?page=1"
curl \
--header "Authorization: Bearer $PEARING_API_TOKEN" \
"$PEARING_API_URL/v1/users/alice/repos?page=1"
200 OK with a paginated repo list. Each repo includes created_by_uuid and created_by_username.
{
"results": [
{
"uuid": "...",
"name": "Website",
"description": "Customer-facing marketing site",
"slug": "website",
"visibility": "private",
"default_branch": "main",
"public_repo_pull_policy": "any",
"is_active": true,
"created_at": "2026-03-09T12:00:00Z"
}
],
"next": null,
"previous": null
}
403 Forbidden when caller lacks access to the owner scope.404 Not Found when the owner user/team does not exist.Common auth errors are documented on the API overview page.