ing.opn.booking.putEventTypeCalendars

Sets an event type's own calendar settings: the calendar its bookings are added to, and the calendars checked for conflicts. Each replaces the host's own calendar settings for this event type, and an omitted one leaves those in place. The settings are private to Opning. Only the event type's owner can call it, after writing and syncing the record.

Repository @opn.ing did:plc:fd7yovynbzbli5i7m6tu76cl namespace authority
Details · procedure
Kindprocedure
Authoritybooking.opn.ing
Commit rev3n2uke75urg2l
Indexed
cid bafyreies2hlgvlaka5clkg5vco2vfxg4ilyi4iaazxmm5qwx7xrdovgvda

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Sets an event type's own calendar settings: the calendar its bookings are added to, and the calendars checked for conflicts. Each replaces the host's own calendar settings for this event type, and an omitted one leaves those in place. The settings are private to Opning. Only the event type's owner can call it, after writing and syncing the record.",
      "errors": [
        {
          "name": "CalendarNotFound"
        },
        {
          "name": "EventTypeNotFound"
        },
        {
          "name": "NotOwner"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "conflicts": {
              "description": "The owner's connected calendars whose events block time on this event type. An empty list checks none.",
              "items": {
                "type": "integer"
              },
              "maxLength": 100,
              "type": "array"
            },
            "destination": {
              "description": "One of the owner's connected calendars that bookings can be added to.",
              "type": "integer"
            },
            "eventType": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "eventType"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "conflicts": {
              "description": "The calendars checked for conflicts, if a list is set.",
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "destination": {
              "description": "The calendar bookings are added to, if one is set.",
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ing.opn.booking.putEventTypeCalendars",
  "lexicon": 1
}