Нет описания

Kirk Trombley ca7424b1be Initial commit 5 лет назад
client ca7424b1be Initial commit 5 лет назад
server ca7424b1be Initial commit 5 лет назад
README.md ca7424b1be Initial commit 5 лет назад

README.md

Vacation Planner

B/c when2meet didn't serve this need

API

GET /vactaion/api/ Returns

{ "status": "healthy" }

GET /vacation/api/status Returns

{
    "availability": [
        {
            "name": "string",
            "availability": [
                {
                    "month": 6,
                    "day": 1,
                    "status": "yes/maybe/no/unknown"
                }
            ]
        }
    ],
    "lastUpdated": "string"
}

POST /vacation/api/status Accepts

{
    "name": "string",
    "availability": [
        {
            "month": 6,
            "day": 1,
            "status": "yes/maybe/no/unknown"
        }
    ]
}

Returns 204 - If the data was accepted 400 - Malformed request