Documentation
A collection of endpoints I use for basic platform functionality. ⚙️
Part playground 🛝, part plumbing 🔧.
You're looking at it! This is the API's documentation page.
Greets a visitor by name and city, and adds them to the visitor log. A little parameter playground.
name — string, optional, defaults to Frodocity — string, optional, defaults to The Shiredetails — "true" or "false", optional. When "true", the response includes the raw request event for debugging.GET /echo?name=Gandalf&city=Rivendell
{
"message": "Wazzup, Gandalf of Rivendell!"
}
Healthcheck for the Cloud Disco API and platform services.
{
"status": "ok"
}
Queues a short note for me to read later.
message — string, required, non-emptyPOST /notes
Content-Type: application/json
{
"message": "Great party last night!"
}
200 OK
{
"messageId": "b1946ac9-2..."
}
400 if the body isn't valid JSON, or message is missing.
Returns the list of recorded visitors from the visitor log.
{
"visitors": [ ... ]
}