ai.newnal.illi.media.updateItem

Only the uploader updates people, note and optional takenAt. takenAt sets an offset-bearing capture time; clearTakenAt true clears the correction. Sending both is InvalidRequest; null is invalid. Omission retains the correction. Locked compositions remain unchanged. Explicit saves forward user input to media. No name-to-face assignment.

Details · procedure
Kindprocedure
Authoritymedia.illi.newnal.ai
Indexed

Showing version bafyreiftlislwg256m4npro4vgflfyjbkgtdhvndii5p2lfdkxu64vf7zi. Show the latest

cid bafyreiftlislwg256m4npro4vgflfyjbkgtdhvndii5p2lfdkxu64vf7zi

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Only the uploader updates people, note and optional takenAt. takenAt sets an offset-bearing capture time; clearTakenAt true clears the correction. Sending both is InvalidRequest; null is invalid. Omission retains the correction. Locked compositions remain unchanged. Explicit saves forward user input to media. No name-to-face assignment.",
      "errors": [
        {
          "name": "NotAuthor"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "PdsUnavailable"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "clearTakenAt": {
              "description": "True clears the manual capture-time correction. Must not be combined with takenAt.",
              "type": "boolean"
            },
            "note": {
              "maxGraphemes": 300,
              "maxLength": 3000,
              "type": "string"
            },
            "people": {
              "items": {
                "ref": "ai.newnal.illi.family.mediaItem#person",
                "type": "ref"
              },
              "maxLength": 20,
              "type": "array"
            },
            "takenAt": {
              "description": "Manual capture time with offset. Omitted retains the correction.",
              "format": "datetime",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "item": {
              "ref": "ai.newnal.illi.media.defs#itemView",
              "type": "ref"
            }
          },
          "required": [
            "item"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.media.updateItem",
  "lexicon": 1
}