ai.newnal.illi.media.updateItem

Only the uploader updates people, note and the manual capture time. takenAt sets a capture time with an offset; clearTakenAt true clears the correction; sending both, or takenAt null, is InvalidRequest; omitting both keeps it. Works already composed keep their composition; the saved values reach the media service for later works. AI fields cannot be edited.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Only the uploader updates people, note and the manual capture time. takenAt sets a capture time with an offset; clearTakenAt true clears the correction; sending both, or takenAt null, is InvalidRequest; omitting both keeps it. Works already composed keep their composition; the saved values reach the media service for later works. AI fields cannot be edited.",
      "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
}