|
3 years ago | |
---|---|---|
client | 3 years ago | |
server | 4 years ago | |
.drone.yml | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 5 years ago |
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