# win.tomo-x.rogaining.listSubmissions

> Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.listSubmissions)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.listSubmissions/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.listSubmissions/examples)

## Definitions

### `win.tomo-x.rogaining.listSubmissions`

**Type**: `query`

List submissions for an event, newest first. The event's author and approver see every team's submissions; a participant sees only their own team's. Anyone else gets an empty list.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `checkpoint` | `string` (at-uri) | No |  |
| `cursor` | `string` | No |  |
| `event` | `string` (at-uri) | Yes |  |
| `limit` | `integer` | No |  |
| `participant` | `string` (did) | No |  |

#### Output

**Encoding**: `application/json`

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

#### Errors

- **EventNotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List submissions for an event, newest first. The event's author and approver see every team's submissions; a participant sees only their own team's. Anyone else gets an empty list.",
      "errors": [
        {
          "name": "EventNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "submissions": {
              "items": {
                "ref": "win.tomo-x.rogaining.defs#submissionView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "submissions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "checkpoint": {
            "format": "at-uri",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "event": {
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "participant": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "event"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "win.tomo-x.rogaining.listSubmissions",
  "lexicon": 1
}
```
