Skip to main content

Install a sample scenario: its Wiki space (with the caller’s forwarded credentials), then its Project Tracker initiative, project and full example subtree, in one transaction under the scenario’s advisory lock

POST 

/api/sample-scenarios/:scenarioId

Install a sample scenario: its Wiki space (with the caller’s forwarded credentials), then its Project Tracker initiative, project and full example subtree, in one transaction under the scenario’s advisory lock. Idempotent — a second call answers already_installed and writes nothing. A failure after the Wiki installed removes the Wiki slice again; if that removal fails too, the next install converges on the Wiki slice left behind. Requires projects.create, initiatives.create and tasks.create.

Request​

Responses​

OK — the example was already installed (outcome: already_installed). Same body as the 201.