CHANGE: docs
This commit is contained in:
27
API.apib
Normal file
27
API.apib
Normal 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
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user