568 B
568 B
API Endpoint Documentation
Arrival
[Request]
POST /arrival
{
"name": "Firstname Lastname",
"agreetoguidelines": true
}
[Response]
200 OK
Departure
[Request]
POST /departure
{
"name": "Firstname Lastname",
"cleanedworkspace": true
}
[Response]
OK
Retrieve data
[Request]
GET /data
Authorization: Basic < base64 USER:PASSWORD >
[Response]
200 OK
[
{
'name': 'firstname-middlename-lastname',
'arrival': 'UTC-ISO-TIMESTAMP',
'departure': 'UTC-ISO-TIMESTAMP'
},
...
]