Update app
Revises app metadata and/or the saved app source module for the app identified by id in the resolved workspace. The path also accepts legacy handle URLs and name-id slugs. Updating `code` changes the JSX module rendered inside the app sandbox; it does not run shell commands or modify host files. Prefer shared `@andibase/ui` primitives, and avoid unconditional iframe `focus` refresh handlers in app code.
/api/v1/apps/{id}Revises app metadata and/or the saved app source module for the app identified by id in the resolved workspace. The path also accepts legacy handle URLs and name-id slugs. Updating code changes the JSX module rendered inside the app sandbox; it does not run shell commands or modify host files. Prefer shared @andibase/ui primitives, and avoid unconditional iframe focus refresh handlers in app code.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
Get app by id GET
Returns the full stored app definition for one app in the resolved workspace, including the JSX module and runtime settings.
Create app POST
Creates a new app inside the resolved workspace. The `code` field stores the initial app source module rendered inside the sandbox and must be a single JSX module that exports a default React component. Prefer shared `@andibase/ui` primitives, and avoid unconditional iframe `focus` refresh handlers in app code.