ing.opn.booking.getBooking
One booking, for its host or a holder of its manage token.
Details · query
| Kind | query |
|---|---|
| Authority | booking.opn.ing |
| Commit rev | 3n2ukcktri62l |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "One booking, for its host or a holder of its manage token.",
"errors": [
{
"name": "BookingNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"booking": {
"ref": "ing.opn.booking.defs#bookingView",
"type": "ref"
}
},
"required": [
"booking"
],
"type": "object"
}
},
"parameters": {
"properties": {
"token": {
"description": "The booking's manage token, from the email sent to its guest. Not needed by the host.",
"maxLength": 128,
"type": "string"
},
"uid": {
"description": "The booking's id.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"uid"
],
"type": "params"
},
"type": "query"
}
},
"id": "ing.opn.booking.getBooking",
"lexicon": 1
}