CHANGE: docs

This commit is contained in:
2024-09-06 09:59:22 +02:00
parent 68608a995b
commit 5f2cd56325
3 changed files with 105 additions and 4 deletions

27
API.apib Normal file
View File

@@ -0,0 +1,27 @@
#Group Bookings
## Bookings Collection [/time{?cardID}]
### List all bookings for specific card_id [GET]
+ Parameters
+ cardID:test_card (string) - the id of the rfid card
+ Response 200 (application/json)
[
{
"cradID": "test_card",
"readerID": "test_reader",
"bookingTyp": 2,
"loggedTime": "2024-09-05T08:37:53.117641Z",
"id": 5
},
{
"cradID": "test_card",
"readerID": "mytest",
"bookingTyp": 1,
"loggedTime": "2024-09-05T08:51:12.670827Z",
"id": 6
},
]