Add resend requests to API docs
This commit is contained in:
parent
4dd4387782
commit
db6b1eef77
16
docs/API.md
16
docs/API.md
|
@ -14,6 +14,16 @@ POST /arrival
|
||||||
|
|
||||||
[Response]
|
[Response]
|
||||||
200 OK
|
200 OK
|
||||||
|
|
||||||
|
409 CONFLICT
|
||||||
|
{
|
||||||
|
"request": "departure",
|
||||||
|
"arrival": {
|
||||||
|
"time": "UTC-ISO-TIMESTAMP",
|
||||||
|
"room": "roomname"
|
||||||
|
},
|
||||||
|
"message": "Error: Undeparted arrival exists"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +39,12 @@ POST /departure
|
||||||
|
|
||||||
[Response]
|
[Response]
|
||||||
200 OK
|
200 OK
|
||||||
|
|
||||||
|
409 CONFLICT
|
||||||
|
{
|
||||||
|
"request": "arrival",
|
||||||
|
"message": "Error: No arrival exists"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue