ai.newnal.illi.events.ack

The device records the last event id it has shown to the parents, so one-shot notices appear exactly once.

Details · procedure
Kindprocedure
Authorityevents.illi.newnal.ai
Indexed
cid bafyreif4vlq4ijfz5sepmvsfsreczv2mec7yop2u5frnimeavrj27ngbii

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The device records the last event id it has shown to the parents, so one-shot notices appear exactly once.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "HomeNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "upTo": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "homeId",
            "upTo"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "lastEventId": {
              "type": "integer"
            }
          },
          "required": [
            "lastEventId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.events.ack",
  "lexicon": 1
}