|
vor 3 Jahren | |
---|---|---|
client | vor 3 Jahren | |
server | vor 4 Jahren | |
.drone.yml | vor 4 Jahren | |
.gitignore | vor 4 Jahren | |
README.md | vor 5 Jahren |
B/c when2meet didn't serve this need
GET
/vactaion/api/
Returns
{ "status": "healthy" }
GET
/vacation/api/availability
Returns
{
"availability": [
{
"month": 6,
"day": 1,
"availability": [
{
"name": "string",
"status": "yes/maybe/no/unknown"
}
]
}
],
"lastUpdated": "string"
}
POST
/vacation/api/availability
Accepts
{
"name": "string",
"availability": [
{
"month": 6,
"day": 1,
"status": "yes/maybe/no/unknown"
}
]
}
Returns
200 - If the data was accepted, with a JSON body equivalent to the GET
above
400 - Malformed request