ai.newnal.illi.schedule.deleteEntry

Root or main admin deletes a schedule entry (both records of a grouped entry). For a recurring entry, scope says what to delete: all (default), this one occurrence (occurrenceStartAt required; an exclusion is added), or this and the following ones (the rule is ended before it).

Details · procedure
Kindprocedure
Authorityschedule.illi.newnal.ai
Commit rev3n2zzbahb232b
Indexed
cid bafyreidez3zgtwlcrc7qexjbdz4tkfo7q4u6rgrdawvqvh5qdwepr5ma4q

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.scopeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Root or main admin deletes a schedule entry (both records of a grouped entry). For a recurring entry, scope says what to delete: all (default), this one occurrence (occurrenceStartAt required; an exclusion is added), or this and the following ones (the rule is ended before it).",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "NotAdmin"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "EntryNotFound"
        },
        {
          "name": "DelegationUnavailable"
        },
        {
          "name": "PdsUnavailable"
        },
        {
          "name": "RequestConflict"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "occurrenceStartAt": {
              "format": "datetime",
              "type": "string"
            },
            "requestKey": {
              "description": "Idempotency key chosen by the client; a replay with the same key and input returns the first result.",
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9._:-]+$",
              "type": "string"
            },
            "rkey": {
              "format": "record-key",
              "type": "string"
            },
            "scope": {
              "default": "all",
              "knownValues": [
                "all",
                "this",
                "following"
              ],
              "type": "string"
            }
          },
          "required": [
            "homeId",
            "rkey",
            "requestKey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deleted": {
              "type": "boolean"
            }
          },
          "required": [
            "deleted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.schedule.deleteEntry",
  "lexicon": 1
}