| the ping service is healthy |
a healthcheck ping request |
GET /ping |
201 |
| the admin user exists |
a request for an auth token |
POST /auth |
200 |
| the admin user exists |
a request for an auth token with a wrong password |
POST /auth |
401 |
| a booking with ID 1 exists |
a request for booking 1 |
GET /booking/1 |
200 |
| no booking with ID 999 exists |
a request for booking 999 |
GET /booking/999 |
404 |
| a booking for Ada Lovelace exists |
a request for bookings filtered by guest name |
GET /booking |
200 |
| bookings exist |
a request for every booking id |
GET /booking |
200 |
| bookings can be created |
a request to create a booking |
POST /booking |
201 |
| a booking with ID 1 exists |
an authorised request to delete booking 1 |
DELETE /booking/1 |
200 |
| a booking with ID 1 can be patched |
an authorised request to patch booking 1 |
PATCH /booking/1 |
200 |
| a booking with ID 1 can be updated |
an authorised request to update booking 1 |
PUT /booking/1 |
200 |
| a booking with ID 1 exists |
an unauthorised request to delete booking 1 |
DELETE /booking/1 |
403 |