No Description

Kirk Trombley 6ff1588e1d minimum effort to make it mobile friendly, fuck it go to prod 3 years ago
client 6ff1588e1d minimum effort to make it mobile friendly, fuck it go to prod 3 years ago
server ac2462f85a Fix upsert command for old sqlite version 4 years ago
.drone.yml 319bcdbcb0 Big update 4 years ago
.gitignore 319bcdbcb0 Big update 4 years ago
README.md dc9028d9ad Moving the actual merge logic into the back-end, which makes live updating easier 5 years ago

README.md

Vacation Planner

B/c when2meet didn't serve this need

API

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