# win.tomo-x.rogaining.getMe

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

- 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.getMe)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getMe/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getMe/analytics)

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

Type: query · GET

### Output (application/json)

- `organizing` (array, required): Events authored by the requester.
  - `items` (ref)
    - Reference: `win.tomo-x.rogaining.defs#eventView`
- `participating` (array, required): Events the requester participates in as a team member, with their team.
  - `items` (ref)
    - Reference: `#participation`

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

Type: object

### Properties

- `event` (ref, required)
  - Reference: `win.tomo-x.rogaining.defs#eventView`
- `team` (ref, required)
  - Reference: `win.tomo-x.rogaining.defs#teamView`

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