---
title: "Repository list"
method: GET
path: "/{service}/{owner_username}/repos/"
tags: ["Repos"]
---

# Repository list

`GET /{service}/{owner_username}/repos/`

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

Optionally filterable by:
* a list of repository `name`s
* a `search` term which matches against the name
* whether the repository is `active` or not

## Path parameters

- `owner_username` string, required
- `service` 'bitbucket' | 'bitbucket_server' | 'github' | 'github_enterprise' | 'gitlab' | 'gitlab_enterprise', required

## Query parameters

- `active` boolean
- `names` string[]
- `page` integer
- `page_size` integer
- `search` string

## Response `200`

- PaginatedRepoList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` Repo[], required
    - `name` string, required
    - `private` boolean, required
    - `updatestamp` string, date-time, required
    - `author` Owner, required
      - `service` 'github' | 'gitlab' | 'bitbucket' | 'github_enterprise' | 'gitlab_enterprise' | 'bitbucket_server', required — * `github` - Github * `gitlab` - Gitlab * `bitbucket` - Bitbucket * `github_enterprise` - Github Enterprise * `gitlab_enterprise` - Gitlab Enterprise * `bitbucket_server` - Bitbucket Server
      - `username` string, nullable, required
      - `name` string, nullable, required
    - `language` string, required
    - `branch` string, required
    - `active` boolean, required
    - `activated` boolean, required
    - `totals` CommitTotals, required
      - `files` integer, required
      - `lines` integer, required
      - `hits` integer, required
      - `misses` integer, required
      - `partials` integer, required
      - `coverage` number, double, required
      - `branches` integer, required
      - `methods` integer, required
      - `sessions` integer, required
      - `complexity` number, double, required
      - `complexity_total` number, double, required
      - `complexity_ratio` number, double, required
      - `diff` integer, required

---

[API](https://skmtc.net/codecov/apis/codecov-api.md) · [All operations](https://skmtc.net/codecov/apis/codecov-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codecov/codecov-api/revisions/aedc46e83ec6/schema)
