ing.opn.booking.putLocationValues

Sets the private values of an event type's locations, which its record leaves out: a fixed meeting link for a video call, or the host's number for a call they make. Replaces the values kept before. 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 rev3n2ukekis2g2l
Indexed
cid bafyreicl2d5tbjrwdr4keej4zmbslr4rpv6awgb7h4yhtitn3lcr4qx2pu

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Sets the private values of an event type's locations, which its record leaves out: a fixed meeting link for a video call, or the host's number for a call they make. Replaces the values kept before. Only the event type's owner can call it, after writing and syncing the record.",
      "errors": [
        {
          "name": "EventTypeNotFound"
        },
        {
          "name": "InvalidLocation"
        },
        {
          "name": "NotOwner"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "eventType": {
              "format": "at-uri",
              "type": "string"
            },
            "values": {
              "items": {
                "ref": "#value",
                "type": "ref"
              },
              "maxLength": 10,
              "type": "array"
            }
          },
          "required": [
            "eventType",
            "values"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "description": "How many values are kept.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "value": {
      "properties": {
        "location": {
          "description": "The location's position in the record's locations.",
          "minimum": 0,
          "type": "integer"
        },
        "value": {
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "location",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "ing.opn.booking.putLocationValues",
  "lexicon": 1
}