{
"id": "com.atiproto.recipient.payment.item.get",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"item"
],
"properties": {
"item": {
"ref": "com.atiproto.item#view",
"type": "ref",
"description": "The item record data"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the item record. Takes precedence over sender and recordUri."
},
"sender": {
"type": "string",
"format": "did",
"description": "DID of the item sender. Takes precedence over recordUri."
},
"recordUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the record being tipped. Ignored if uri or sender is provided."
}
}
},
"description": "Get a specific item received by the authenticated user (as the recipient/subject). Looks up by item record uri, sender DID, or record uri. These are mutually exclusive and resolved in that order."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}