# us.off-the-clock.getAuthorRecords

> A member's records in one community space, newest first.

- Kind: query
- Authority: 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.getAuthorRecords)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.getAuthorRecords/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.getAuthorRecords/analytics)

## Query (`us.off-the-clock.getAuthorRecords`)

Type: query · GET

### Parameters (query string)

- `actor` (string · at-identifier, required)
- `collection` (string · nsid)
- `cursor` (string)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `space` (string): A pair's TID; the default pair by default.
  - Constraints: maxLength: 512
- `topLevelOnly` (boolean): Leave out posts that are replies.
  - Constraints: default: false

### Output (application/json)

- `cursor` (string)
- `items` (array, required)
  - `items` (union)
    - One of: `us.off-the-clock.defs#postView`, `us.off-the-clock.defs#eventView`, `us.off-the-clock.defs#rsvpView`, `us.off-the-clock.defs#profileView`, `us.off-the-clock.defs#recordView`, `us.off-the-clock.defs#bookmarkView`, `us.off-the-clock.defs#documentView`, `us.off-the-clock.defs#listingView`, `us.off-the-clock.defs#reviewView`, `us.off-the-clock.polls.pollView`

### Errors

- `NotSpaceMember`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A member's records in one community space, newest first.",
      "errors": [
        {
          "name": "NotSpaceMember"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "items": {
              "items": {
                "refs": [
                  "us.off-the-clock.defs#postView",
                  "us.off-the-clock.defs#eventView",
                  "us.off-the-clock.defs#rsvpView",
                  "us.off-the-clock.defs#profileView",
                  "us.off-the-clock.defs#recordView",
                  "us.off-the-clock.defs#bookmarkView",
                  "us.off-the-clock.defs#documentView",
                  "us.off-the-clock.defs#listingView",
                  "us.off-the-clock.defs#reviewView",
                  "us.off-the-clock.polls.pollView"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "at-identifier",
            "type": "string"
          },
          "collection": {
            "format": "nsid",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "space": {
            "description": "A pair's TID; the default pair by default.",
            "maxLength": 512,
            "type": "string"
          },
          "topLevelOnly": {
            "default": false,
            "description": "Leave out posts that are replies.",
            "type": "boolean"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.getAuthorRecords",
  "lexicon": 1
}
```
