ing.opn.booking.decline
Declines a booking waiting for confirmation. Host only.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | booking.opn.ing |
| Commit rev | 3n2ukanbueo2l |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Declines a booking waiting for confirmation. Host only.",
"errors": [
{
"name": "BookingNotFound"
},
{
"name": "BookingNotPending"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"maxLength": 2000,
"type": "string"
},
"uid": {
"description": "The booking's id.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"uid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"booking": {
"ref": "ing.opn.booking.defs#bookingView",
"type": "ref"
}
},
"required": [
"booking"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ing.opn.booking.decline",
"lexicon": 1
}