1. 1 Console

Console

Create two workspaces, add items to each, and confirm neither can see the other's data.

Try an arbitrary workspace id

API reference

POST /api/scenarios/workspaces

body { name } → { workspace: { id, name } } (201)

GET /api/scenarios/workspaces/:workspaceId/items

scoped entirely to that workspace — 404 if the workspaceId doesn't exist

POST /api/scenarios/workspaces/:workspaceId/items

body { title } → { item } (201), or 404 if the workspaceId doesn't exist

curl -X POST https://playground.krishanchawla.com/api/scenarios/workspaces -H "Content-Type: application/json" -d '{"name":"Team A"}'

curl -X POST https://playground.krishanchawla.com/api/scenarios/workspaces/<workspaceId>/items -H "Content-Type: application/json" -d '{"title":"First item"}'

Wipe shared state and start clean.