jpark.site
Shared lists
Create a checklist or recipe with sections. Share the link — anyone with it can check items off or edit the contents. Agents can populate a list through the JSON API.
Agent populate
Create or replace a list with JSON. The response includes a shareable url.
POST /api/lists
Content-Type: application/json
{
"title": "Weeknight pasta",
"notes": "Serves 2. About 25 minutes.",
"settings": { "showMeasurements": true },
"sections": [
{
"title": "Ingredients",
"items": [
{ "text": "spaghetti", "amount": "200", "unit": "g" },
{ "text": "garlic cloves", "amount": "3", "unit": "" },
{ "text": "olive oil", "amount": "2", "unit": "tbsp" }
]
},
{
"title": "Steps",
"items": [
"Boil salted water",
"Cook pasta until al dente",
"Sauté garlic in oil, toss with pasta"
]
}
]
}
PUT /api/lists/{id} # replace title/notes/sections/settings
GET /api/lists/{id} # read current list JSON