Update a pending item. Only pending items can be updated.
Input
Encoding
application/jsonrecord
refcom.atiproto.item
Required
No description available.
uri
stringat-uri
Required
AT-URI of the item record to update
workflow
refcom.atiproto.actions#inboundWorkflow
Optional
Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.
Output
Encoding
application/jsoncid
stringcid
Optional
New CID of the updated record
uri
stringat-uri
Optional
Updated item record URI
workflow
refcom.atiproto.actions#outboundWorkflow
Optional
Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri",
"record"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the item record to update"
},
"record": {
"ref": "com.atiproto.item",
"type": "ref"
},
"workflow": {
"ref": "com.atiproto.actions#inboundWorkflow",
"type": "ref",
"description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls."
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "New CID of the updated record"
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "Updated item record URI"
},
"workflow": {
"ref": "com.atiproto.actions#outboundWorkflow",
"type": "ref",
"description": "Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result."
}
}
},
"encoding": "application/json"
},
"description": "Update a pending item. Only pending items can be updated."
}