These docs are for v4.6. Click to read the latest docs for v2023.

🚧

Codecov API v1 deprecation in progress

Please use the Codecov API v2. Documentation can be found here.

Resources that return variable length of data will be paginated. Page and number of entries are stated in the meta as seen below.

{
  "meta": {
    "status": 200,
    "limit": 20,
    "page": 1
  }
}

To request more pages please append the query param page like this:

GET /api/gh/:owner/:repo/commits?page=2

You can also limit the number of entries like this:

GET /api/gh/:owner/:repo/pulls?limit=1