create script
Creates a new script when the path does not already exist. Creates a new version of an existing script when called with the same path and the current parent_hash.
Path parameters
Request body
When true, the backend resolves the parent to the current deployed head for this path within the transaction (ignoring parent_hash), instead of failing with a "lineage must be linear" error when the supplied parent_hash is stale.
If set, delete the job's args, result and logs after this many seconds following job completion
Authorization identity to run as: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. Supply this or on_behalf_of_email; when only the address is given it is resolved to the account it names, and an address naming nobody is rejected. A pair that disagrees is rejected.
When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email / on_behalf_of pair instead of overwriting it with the caller's own identity.
Additional script modules keyed by relative file path
When true (set by the CLI / git sync), deploying this script does not delete an existing user draft at the same path.
Response
script created