MCPcopy Create free account
hub / github.com/Tong89/smartNode / loadScenario

Function loadScenario

frontend/src/api/endpoints.ts:168–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 * POST /api/scenario/load — Restore the last saved scenario to the engine.
167 */
168export function loadScenario(): Promise<ScenarioRestoreResult> {
169 return apiClient.post<ScenarioRestoreResult>('/api/scenario/load', {});
170}
171
172/**
173 * GET /api/scenario/export — Download the current scenario as a file.

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected