ing.opn.booking.moveEventType

Tells the AppView an event type now lives under a new record key, after its owner wrote the new record and before deleting the old one. Bookings and private location details move to the new record, and the old booking link redirects to the new one. Only the event type's owner can call it.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Tells the AppView an event type now lives under a new record key, after its owner wrote the new record and before deleting the old one. Bookings and private location details move to the new record, and the old booking link redirects to the new one. Only the event type's owner can call it.",
      "errors": [
        {
          "name": "EventTypeNotFound"
        },
        {
          "name": "NotOwner"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "from": {
              "format": "at-uri",
              "type": "string"
            },
            "to": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "from",
            "to"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "bookings": {
              "description": "How many bookings moved.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "bookings"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ing.opn.booking.moveEventType",
  "lexicon": 1
}