Restart Dashboard
const url = 'https://aura-api-eu.strangeworks.com/api/v1/projects/example/run/dashboard/restart';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://aura-api-eu.strangeworks.com/api/v1/projects/example/run/dashboard/restart \ --header 'Authorization: Bearer <token>'Kill the project’s dashboard process and start a fresh one.
Real credentials, never a view ticket: a viewer of the dashboard must not be able to restart it. Unconditional and non-blocking — every call restarts, and it returns as soon as the old process is gone rather than waiting for the new one to serve. Reach for it when the entrypoint or the dependencies changed under a running process, or when one has wedged.
restart broadcasts dashboard_restarted, which sets the rebuilding wait
for every viewer; only a terminal signal clears it. Since this returns before
the process serves, it schedules the same off-viewer wait the checkout does —
dashboard_serving on success, dashboard_rebuild_failed on a terminal
outcome — so a viewer off the dashboard is not stranded rebuilding.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Successful Response
The state a restart left behind.
Never ready: the restart returns once the old process is gone, not once
the new one is serving, so the caller’s next request lands on the holding
page and refreshes itself from there.
Examplegenerated
{ "detail": "example", "port": 1, "state": "example"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}