HTTP API
node interface/api/server.mjs listens on 127.0.0.1:4330. It has no authentication, so keep it on your own machine.
| Method and path | Does |
|---|---|
GET /routes, GET /groups | The route table and route groups |
GET /ventures | Ventures in the workspace |
GET /ventures/<venture> | The venture overview |
GET /ventures/<venture>/<route> | Read a record |
GET /ventures/<venture>/<route>/view | The route as a Markdown page |
GET /ventures/<venture>/<route>/layout | The layout |
PUT /ventures/<venture>/<route> | Write a record |
POST /ventures/<venture>/<route>/check | Run its checks |
POST /ventures/<venture>/<route>/run | Run a command |
Provenance comes from the headers x-mentura-derived-from, x-mentura-decision and x-mentura-model, and the acting role from x-mentura-actor.
Last updated on