MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/v1/admin/workspaces/[id]/import/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * POST /api/v1/admin/workspaces/[id]/import
3 *
4 * Import workflows into a workspace from a ZIP file or JSON.

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
withAdminAuthParamsFunction · 0.90
parseRequestFunction · 0.90
getWorkspaceWithOwnerFunction · 0.90
notFoundResponseFunction · 0.90
parseJsonBodyFunction · 0.90
badRequestResponseFunction · 0.90
extractWorkflowsFromZipFunction · 0.90
generateIdFunction · 0.90
internalErrorResponseFunction · 0.90
importSingleWorkflowFunction · 0.85

Tested by

no test coverage detected