# app.rocksky.event.putRsvp

> Published by [rocksky.app](https://lexicon.garden/identity/did:plc:vegqomyce4ssoqs7zwqvgqty)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.event.putRsvp)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.event.putRsvp/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.event.putRsvp/examples)

## Definitions

### `app.rocksky.event.putRsvp`

**Type**: `procedure`

Set the authenticated user's RSVP on an event. Reuses their existing RSVP record.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `status` | `string` | Yes |  |
| `uri` | `string` (at-uri) | Yes | The calendar or music event URI. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `status` | `string` | Yes |  |
| `uri` | `string` (at-uri) | Yes | The RSVP record URI. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set the authenticated user's RSVP on an event. Reuses their existing RSVP record.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "status": {
              "knownValues": [
                "community.lexicon.calendar.rsvp#going",
                "community.lexicon.calendar.rsvp#interested",
                "community.lexicon.calendar.rsvp#notgoing"
              ],
              "type": "string"
            },
            "uri": {
              "description": "The calendar or music event URI.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "status"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "status": {
              "knownValues": [
                "community.lexicon.calendar.rsvp#going",
                "community.lexicon.calendar.rsvp#interested",
                "community.lexicon.calendar.rsvp#notgoing"
              ],
              "type": "string"
            },
            "uri": {
              "description": "The RSVP record URI.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "status"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.rocksky.event.putRsvp",
  "lexicon": 1
}
```
