tools.ozone.inbox.updateSeen

Details · procedure
Kindprocedure
Authorityinbox.ozone.tools
Indexed
cid bafyreicohwyf6yec6g2qqmg32ur2cq6f64z2o7njjmydtsrua6ek5vyvlm

Checks

Valid
  • missing-primary-description defs.mainThe procedure has no description.
  • unlimited-string defs.main.input.schema.properties.sections.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "sections": {
              "items": {
                "knownValues": [
                  "reports",
                  "subjects",
                  "accountStatus"
                ],
                "type": "string"
              },
              "minLength": 1,
              "type": "array"
            },
            "seenAt": {
              "description": "Mark each requested section read up to this instant. Defaults to server time and is clamped to server time when in the future. Newer existing watermarks are preserved independently for each section.",
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "sections"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seenAt": {
              "description": "The earliest resulting watermark across the requested sections, in UTC. Every requested section is read through this instant; individual sections may already have newer watermarks.",
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "seenAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.inbox.updateSeen",
  "lexicon": 1
}