---
title: "Releases, newest first (a draft by when it was made, a published one by when it was published), 30 a page"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.gitpando.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Pando API › releases

`GET /v1/monorepos/{owner}/{monorepo}/repos/{repo}/releases`

## Authentication

Requires one of the following:

- `credential`, http, header `Authorization`
- `session`, apiKey, in cookie

## Path parameters

- `listReleases.path.owner` (string, required) — The monorepo's owner, a namespace (a person's login or an organization). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$`
- `listReleases.path.monorepo` (string, required) — The monorepo's name within its owner (or an old name). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$`
- `listReleases.path.repo` (string, required) — The repo's `name` (`projects-web`).

## Query parameters

- `listReleases.query.limit` (integer, optional)
  - min 1; max 100; default `30`
- `listReleases.query.cursor` (string, optional)

## Code samples

### cURL

```curl
curl --request GET \
  --url https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "releases": [
    {
      "repo": "string",
      "tag": "string",
      "sha": "string",
      "title": "string",
      "notes": "string",
      "draft": true,
      "forced": true,
      "created_by": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "published_by": "string",
      "published_at": "2019-08-24T14:15:22Z",
      "files": [
        {
          "name": "string",
          "size": 0,
          "sha256": "string",
          "content_type": "string",
          "uploaded_by": "string",
          "uploaded_at": "2019-08-24T14:15:22Z"
        }
      ],
      "checks": {
        "sha": "string",
        "state": "success",
        "required": [
          "string"
        ],
        "checks_unknown": "string",
        "missing": [
          "string"
        ],
        "statuses": [
          {
            "sha": "string",
            "context": "string",
            "state": "pending",
            "target_url": "string",
            "description": "string",
            "creator": "string",
            "app": "string",
            "created_at": "2019-08-24T14:15:22Z"
          }
        ]
      }
    }
  ],
  "next_cursor": "string"
}
```

- `listReleases.response.200.releases` (array<object>, required)
  - `listReleases.response.200.releases.repo` (string, required)
  - `listReleases.response.200.releases.tag` (string, required)
  - `listReleases.response.200.releases.sha` (string, required) — Its commit
  - `listReleases.response.200.releases.title` (string, required)
  - `listReleases.response.200.releases.notes` (string, required) — Markdown
  - `listReleases.response.200.releases.draft` (boolean, required)
  - `listReleases.response.200.releases.forced` (boolean, required) — Published past red or missing required checks.
  - `listReleases.response.200.releases.created_by` (string, required)
  - `listReleases.response.200.releases.created_at` (string, required)
    - format `date-time`
  - `listReleases.response.200.releases.updated_at` (string, required)
    - format `date-time`
  - `listReleases.response.200.releases.published_by` (string | null, required)
  - `listReleases.response.200.releases.published_at` (string | null, required)
    - format `date-time`
  - `listReleases.response.200.releases.files` (array<object>, required)
    - `listReleases.response.200.releases.files.name` (string, required)
    - `listReleases.response.200.releases.files.size` (integer, required)
    - `listReleases.response.200.releases.files.sha256` (string, required)
    - `listReleases.response.200.releases.files.content_type` (string, required)
    - `listReleases.response.200.releases.files.uploaded_by` (string, required)
    - `listReleases.response.200.releases.files.uploaded_at` (string, required)
      - format `date-time`
  - `listReleases.response.200.releases.checks` (object, optional) — Its commit's checks; on getRelease only.
    - `listReleases.response.200.releases.checks.sha` (string | null, required)
    - `listReleases.response.200.releases.checks.state` (string, required) — `success` when the merge gate passes; `missing` when a required context has not reported; `unknown` while the required checks are (an unforced merge is refused).
      - one of `"success"`, `"pending"`, `"failure"`, `"error"`, `"missing"`, `"unknown"`
    - `listReleases.response.200.releases.checks.required` (array | null, required) — Null while unknown.
    - `listReleases.response.200.releases.checks.checks_unknown` (string | null, required) — Why the required checks are unknown, in plain words: "Pando couldn't read this monorepo's required checks; try again", or "pando.toml line 3: expected comma or end of structure; fix it on main, or merge with force". Null otherwise.
    - `listReleases.response.200.releases.checks.statuses` (array<object>, required) — The latest status per context.
      - `listReleases.response.200.releases.checks.statuses.sha` (string, required)
      - `listReleases.response.200.releases.checks.statuses.context` (string, required)
      - `listReleases.response.200.releases.checks.statuses.state` (string, required)
        - one of `"pending"`, `"success"`, `"failure"`, `"error"`
      - `listReleases.response.200.releases.checks.statuses.created_at` (string, required)
        - format `date-time`
      - `listReleases.response.200.releases.checks.statuses.target_url` (string | null, optional)
      - `listReleases.response.200.releases.checks.statuses.description` (string | null, optional)
      - `listReleases.response.200.releases.checks.statuses.creator` (string, optional) — The member who posted it (a login); `app:<slug>` for a status posted with a status token or by a CI integration; `hook:<hook id>` for a status token from a web hook with no app.
      - `listReleases.response.200.releases.checks.statuses.app` (string | null, optional) — The CI service that reported it (`buildkite`, `github-actions`, ...), stamped by Pando from a status token or a CI integration, never from the body or `target_url`. Null when a member posted it with their own credential. The web shows the service's mark for a slug it knows.
    - `listReleases.response.200.releases.checks.missing` (array<string>, optional)
- `listReleases.response.200.next_cursor` (string | null, required)


Source: https://docs.gitpando.com/api/releases/listReleases/index.md
