---
title: "The branch's reviews, oldest first"
---

> 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 › reviews

`GET /v1/monorepos/{owner}/{monorepo}/repos/{repo}/branches/{branch}/reviews`

## Authentication

Requires one of the following:

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

## Path parameters

- `listReviews.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}$`
- `listReviews.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}$`
- `listReviews.path.repo` (string, required) — The repo's `name` (`projects-web`).
- `listReviews.path.branch` (string, required) — The branch name, `/` encoded as `%2F`.

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/repos/string/branches/string/reviews';
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/branches/string/reviews"

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

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

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "reviews": [
    {
      "id": "string",
      "branch": "string",
      "head": "string",
      "verdict": "comment",
      "body": "string",
      "comments": [
        {
          "path": "string",
          "line": 0,
          "side": "new",
          "body": "string"
        }
      ],
      "author": "string",
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}
```

- `listReviews.response.200.reviews` (array<object>, required)
  - `listReviews.response.200.reviews.id` (string, required)
  - `listReviews.response.200.reviews.branch` (string, required)
  - `listReviews.response.200.reviews.head` (string, required)
  - `listReviews.response.200.reviews.verdict` (string, required)
    - one of `"comment"`, `"request_changes"`, `"approve"`
  - `listReviews.response.200.reviews.author` (string, required)
  - `listReviews.response.200.reviews.created_at` (string, required)
    - format `date-time`
  - `listReviews.response.200.reviews.body` (string | null, optional)
  - `listReviews.response.200.reviews.comments` (array<object>, optional)
    - `listReviews.response.200.reviews.comments.path` (string, required)
    - `listReviews.response.200.reviews.comments.body` (string, required)
    - `listReviews.response.200.reviews.comments.line` (integer, optional) — A line in the new file.
    - `listReviews.response.200.reviews.comments.side` (string, optional)
      - one of `"new"`, `"old"`; default `"new"`


Source: https://docs.gitpando.com/api/reviews/listReviews/index.md
