pub async fn create_script(
configuration: &Configuration,
workspace: &str,
new_script: NewScript,
) -> Result<String, Error<CreateScriptError>>Expand description
Creates a new script at a path that does not already hold one. Supplying parent_hash instead deploys a new version of the script that hash names, and a path differing from that version’s moves the script there. POST /w/{workspace}/scripts/update/{path} does the same, naming the superseded version in its URL.