Add resend requests to API docs

This commit is contained in:
Oskar Winkels 2020-12-01 15:48:10 +01:00 committed by Oskar
parent 4dd4387782
commit db6b1eef77
1 changed files with 16 additions and 0 deletions

View File

@ -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"
}
``` ```