# win.tomo-x.rogaining.getMe

> 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.getMe)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getMe/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getMe/examples)

## Definitions

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

**Type**: `query`

Get the events related to the requesting account. Requires auth. Each list is ordered by event start time, newest first.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `organizing` | `array` | Yes | Events authored by the requester. |
| `participating` | `array` | Yes | Events the requester participates in as a team member, with their team. |

### `win.tomo-x.rogaining.getMe#participation`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `event` | `ref` → `win.tomo-x.rogaining.defs#eventView` | Yes |  |
| `team` | `ref` → `win.tomo-x.rogaining.defs#teamView` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the events related to the requesting account. Requires auth. Each list is ordered by event start time, newest first.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "organizing": {
              "description": "Events authored by the requester.",
              "items": {
                "ref": "win.tomo-x.rogaining.defs#eventView",
                "type": "ref"
              },
              "type": "array"
            },
            "participating": {
              "description": "Events the requester participates in as a team member, with their team.",
              "items": {
                "ref": "#participation",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "participating",
            "organizing"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "participation": {
      "properties": {
        "event": {
          "ref": "win.tomo-x.rogaining.defs#eventView",
          "type": "ref"
        },
        "team": {
          "ref": "win.tomo-x.rogaining.defs#teamView",
          "type": "ref"
        }
      },
      "required": [
        "event",
        "team"
      ],
      "type": "object"
    }
  },
  "id": "win.tomo-x.rogaining.getMe",
  "lexicon": 1
}
```
