# win.tomo-x.rogaining.listSubmissions

> 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.

- Kind: query
- Authority: rogaining.tomo-x.win
- Lexicon: 1
- Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.listSubmissions)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.listSubmissions/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.listSubmissions/analytics)

## Query (`win.tomo-x.rogaining.listSubmissions`)

Type: query · GET

### Parameters (query string)

- `checkpoint` (string · at-uri)
- `cursor` (string)
- `event` (string · at-uri, required)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `participant` (string · did)

### Output (application/json)

- `cursor` (string)
- `submissions` (array, required)
  - `items` (ref)
    - Reference: `win.tomo-x.rogaining.defs#submissionView`

### Errors

- `EventNotFound`: No description in schema.

## 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
}
```
