# online.fg-goose.gsb.listSessionRecords

> Published by [ember.delve.town](https://lexicon.garden/identity/did:plc:6amo7col5h4ciq2gpm5eur7b)

✓ This is the authoritative definition for this NSID.

## Description

The issuer's scratch cards (including REPL objects with cards) and entry links in record shape, response only. No URI, repository or signed membership. No REPL checkpoint collection is served.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.listSessionRecords)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.listSessionRecords/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.listSessionRecords/examples)

## Definitions

### `online.fg-goose.gsb.listSessionRecords`

**Type**: `query`

The issuer's scratch cards (including REPL objects with cards) and entry links in record shape, response only. No URI, repository or signed membership. No REPL checkpoint collection is served.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `collection` | `string` (nsid) | Yes |  |
| `cursor` | `string` | No |  |
| `limit` | `integer` | No |  |
| `session` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `records` | `array` | Yes |  |

#### Errors

- **AuthRequired**
- **InvalidToken**
- **InvalidRequest**
- **RateLimitExceeded**
- **RecordNotFound**
- **HostUnavailable**

### `online.fg-goose.gsb.listSessionRecords#sessionRecord`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `key` | `string` | Yes |  |
| `value` | `unknown` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The issuer's scratch cards (including REPL objects with cards) and entry links in record shape, response only. No URI, repository or signed membership. No REPL checkpoint collection is served.",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidToken"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "RecordNotFound"
        },
        {
          "name": "HostUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "records": {
              "items": {
                "ref": "#sessionRecord",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "enum": [
              "online.fg-goose.gsb.card",
              "online.fg-goose.gsb.entry"
            ],
            "format": "nsid",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "session": {
            "type": "string"
          }
        },
        "required": [
          "session",
          "collection"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "sessionRecord": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "value": {
          "type": "unknown"
        }
      },
      "required": [
        "key",
        "cid",
        "value"
      ],
      "type": "object"
    }
  },
  "description": "The issuer's scratch cards (including REPL objects with cards) and entry links in record shape, response only. No URI, repository or signed membership. No REPL checkpoint collection is served.",
  "id": "online.fg-goose.gsb.listSessionRecords",
  "lexicon": 1
}
```
