---
title: "The monorepo's members"
description: "Everyone who can open it, by login. In an org's monorepo that is its own members and the org's people; `via` says which, and `role` is the higher of the two."
---

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

`GET /v1/monorepos/{owner}/{monorepo}/members`

Everyone who can open it, by login. In an org's monorepo that is its own members and the org's people; `via` says which, and `role` is the higher of the two.

## Authentication

Requires one of the following:

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

## Path parameters

- `listMembers.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}$`
- `listMembers.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}$`

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "members": [
    {
      "login": "string",
      "name": "string",
      "picture_url": "string",
      "role": "owner",
      "added_at": "2019-08-24T14:15:22Z",
      "added_by": "string",
      "last_active_at": "2019-08-24T14:15:22Z",
      "via": "direct"
    }
  ]
}
```

- `listMembers.response.200.members` (array<object>, required)
  - `listMembers.response.200.members.login` (string, required)
  - `listMembers.response.200.members.name` (string | null, required) — The user's display name, if known.
  - `listMembers.response.200.members.picture_url` (string | null, required) — As on User: their profile picture, or null (the web draws one).
  - `listMembers.response.200.members.role` (string, required)
    - one of `"owner"`, `"member"`
  - `listMembers.response.200.members.added_at` (string, required)
    - format `date-time`
  - `listMembers.response.200.members.last_active_at` (string | null, required) — The newest last use of any of their credentials (written at most once a minute per credential); null if none was ever used.
    - format `date-time`
  - `listMembers.response.200.members.via` (string, required) — Where their access comes from: their own row (`direct`), the org that owns the monorepo (`org`), or both. `added_at` and `added_by` come from their own row when they have one.
    - one of `"direct"`, `"org"`, `"both"`
  - `listMembers.response.200.members.added_by` (string | null, optional)


Source: https://docs.gitpando.com/api/monorepos/listMembers/index.md
