app

update a raw app from its sources, compiling them on a worker (which runs the app's own dependencies to do so)

Changed on
post/w/{workspace}/apps/update_raw_source/{path}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/apps/update_raw_source/{path}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
pathstring required

Request body

pathstring
summarystring
deployment_messagestring
custom_pathstring
preserve_on_behalf_ofboolean

When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.

labelsstring[]
skip_draft_deletionboolean

When true (set by the CLI / git sync), deploying this app does not delete an existing user draft at the same path.

allow_kind_changeboolean

When true, this deploy may switch the app between low-code and raw. Without it, deploying a value to an app of the other kind is refused so an app is never converted by accident.

Response

app updated

pathstring required

Where the app now lives, which differs from the request path on a rename.

versioninteger required

Changes

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the media type application/json for the response with the status

    • warning

      removed the request property /