script
update script
Changed onDeploys a new version of the script at path, which must already hold one. The body's path is the destination: the same path leaves the script where it is, a different one moves it there and archives the old path.
post/w/{workspace}/scripts/update/{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}/scripts/update/{path}
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
workspacestring required
pathstring required
Request body
Response
new script version created
Changes
- info
added the new optional request property
- info
- info
endpoint added
- info