com.atiproto.payment.item.put

Update a pending item. Only pending items can be updated.

Repository @atiproto.com did:plc:4x5dcv6u4wlkjcssto7f22nu namespace authority
Details · procedure
Kindprocedure
Authorityitem.payment.atiproto.com
Indexed
cid bafyreih244bms4pnkioq7jehagvzimcpq36c3fotd7pqtyzze2ztajwjn4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update a pending item. Only pending items can be updated.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "record": {
              "ref": "com.atiproto.item",
              "type": "ref"
            },
            "uri": {
              "description": "AT-URI of the item record to update",
              "format": "at-uri",
              "type": "string"
            },
            "workflow": {
              "description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.",
              "ref": "com.atiproto.actions#inboundWorkflow",
              "type": "ref"
            }
          },
          "required": [
            "uri",
            "record"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "New CID of the updated record",
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "description": "Updated item record URI",
              "format": "at-uri",
              "type": "string"
            },
            "workflow": {
              "description": "Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.",
              "ref": "com.atiproto.actions#outboundWorkflow",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.atiproto.payment.item.put",
  "lexicon": 1
}