# us.off-the-clock.subspace.listMembers

> List a subspace's member entries. Auth: OAuth as the authority with a covering read_self grant, or service auth from a subspace admin.

- Kind: query
- Authority: subspace.off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.subspace.listMembers)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.subspace.listMembers/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.subspace.listMembers/analytics)

## Query (`us.off-the-clock.subspace.listMembers`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 1000, default: 100
- `space` (string · space-ref, required): Reference to the subspace.

### Output (application/json)

- `cursor` (string)
- `members` (array, required)
  - `items` (ref)
    - Reference: `#member`

### Errors

- `SpaceNotFound`: No description in schema.
- `PolicyMismatch`: The space is not governed by the subspace policy.
- `NotAuthorized`: No description in schema.

## #member (`us.off-the-clock.subspace.listMembers#member`)

Type: object

### Properties

- `admin` (boolean, required)
- `did` (string · did, required)
- `read` (boolean, required)
- `write` (boolean, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List a subspace's member entries. Auth: OAuth as the authority with a covering read_self grant, or service auth from a subspace admin.",
      "errors": [
        {
          "name": "SpaceNotFound"
        },
        {
          "description": "The space is not governed by the subspace policy.",
          "name": "PolicyMismatch"
        },
        {
          "name": "NotAuthorized"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "members": {
              "items": {
                "ref": "#member",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 100,
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          },
          "space": {
            "description": "Reference to the subspace.",
            "format": "space-ref",
            "type": "string"
          }
        },
        "required": [
          "space"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "member": {
      "properties": {
        "admin": {
          "type": "boolean"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "read": {
          "type": "boolean"
        },
        "write": {
          "type": "boolean"
        }
      },
      "required": [
        "did",
        "read",
        "write",
        "admin"
      ],
      "type": "object"
    }
  },
  "id": "us.off-the-clock.subspace.listMembers",
  "lexicon": 1
}
```
