From
bafyreicoom5vm7jqaa3exoe6bosh7qxqn33krqqobyj73nrag66cenl3uq
indexed 2026-04-29 15:07 UTC
View this version
To
bafyreibybadhh3euvzhsn6y5bimmo65ayeb24gfoxc3ktnl5a2asg4wrpi
indexed 2026-04-30 18:24 UTC
View this version
Compatibility
backward compatible Backward compatible. 4 non-breaking changes.
Non-breaking changes (4)
- AddedVertex AddedVertex { vertex_id: "com.atiproto.actions#outboundWorkflow" }
- AddedVertex AddedVertex { vertex_id: "com.atiproto.payment.cart.get:output.workflow" }
- AddedEdge AddedEdge { src: "com.atiproto.payment.cart.get:output", tgt: "com.atiproto.payment.cart.get:output.workflow", kind: "prop", name: Some("workflow") }
- AddedEdge AddedEdge { src: "com.atiproto.payment.cart.get:output.workflow", tgt: "com.atiproto.actions#outboundWorkflow", kind: "ref", name: None }
Migration guidance
Added
AddedVertex { vertex_id: "com.atiproto.actions#outboundWorkflow" }AddedVertex { vertex_id: "com.atiproto.payment.cart.get:output.workflow" }
Notes
- Non-breaking: AddedEdge { src: "com.atiproto.payment.cart.get:output", tgt: "com.atiproto.payment.cart.get:output.workflow", kind: "prop", name: Some("workflow") }
- Non-breaking: AddedEdge { src: "com.atiproto.payment.cart.get:output.workflow", tgt: "com.atiproto.actions#outboundWorkflow", kind: "ref", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required.",66
"output": {77
"encoding": "application/json",88
"schema": {99
"properties": {1010
"cart": {1111
"description": "The cart record data",1212
"ref": "com.atiproto.cart#view",1313
"type": "ref"1414
},1515
"checkoutUrl": {1616
"description": "Checkout URL, only present when cart status is open",1717
"format": "uri",1818
"type": "string"1919
},2020
"cid": {2121
"description": "Cart record CID",2222
"format": "cid",2323
"type": "string"2424
},2525
"items": {2626
"description": "Resolved item records referenced by this cart",2727
"items": {2828
"ref": "com.atiproto.item#view",2929
"type": "ref"3030
},3131
"type": "array"3232
},3333
"subscriptions": {3434
"description": "Resolved subscription records referenced by this cart",3535
"items": {3636
"ref": "com.atiproto.subscription#view",3737
"type": "ref"3838
},3939
"type": "array"4040
},4141
"uri": {4242
"description": "Cart record URI",4343
"format": "at-uri",4444
"type": "string"45
},46
"workflow": {47
"description": "Side-effect workflow to sync server status with PDS status.",48
"ref": "com.atiproto.actions#outboundWorkflow",49
"type": "ref"4550
}4651
},4752
"required": [4853
"uri",4954
"cart",5055
"items",5156
"subscriptions"5257
],5358
"type": "object"5459
}5560
},5661
"parameters": {5762
"properties": {5863
"itemUri": {5964
"description": "AT-URI of an item record. Returns the cart that contains this item. Ignored if uri is provided.",6065
"format": "at-uri",6166
"type": "string"6267
},6368
"subscriptionUri": {6469
"description": "AT-URI of a subscription record. Returns the cart that contains this subscription. Ignored if uri or itemUri is provided.",6570
"format": "at-uri",6671
"type": "string"6772
},6873
"uri": {6974
"description": "AT-URI of the cart record. Takes precedence over itemUri and subscriptionUri.",7075
"format": "at-uri",7176
"type": "string"7277
}7378
},7479
"type": "params"7580
},7681
"type": "query"7782
}7883
},7984
"id": "com.atiproto.payment.cart.get",8085
"lexicon": 18186
}