class ScriptApiRequestFactory
extends BaseAPIRequestFactory
import { ScriptApiRequestFactory } from "https://deno.land/x/windmill@v1.38.2/windmill-api/apis/ScriptApi.ts";
no description
Methods
archiveScriptByHash(): Promise<RequestContext>
archive script by hash
archiveScriptByPath(): Promise<RequestContext>
archive script by path
createScript(): Promise<RequestContext>
create script
deleteScriptByHash(): Promise<RequestContext>
delete script by hash (erase content but keep hash)
denoToJsonschema(body: string, _options?: Configuration): Promise<RequestContext>
inspect deno code to infer jsonschema of arguments
existsScriptByPath(): Promise<RequestContext>
exists script by path
getHubScriptContentByPath(path: string, _options?: Configuration): Promise<RequestContext>
get hub script content by path
getScriptByHash(): Promise<RequestContext>
get script by hash
getScriptByPath(): Promise<RequestContext>
get script by path
getScriptDeploymentStatus(): Promise<RequestContext>
get script deployment status
goToJsonschema(body: string, _options?: Configuration): Promise<RequestContext>
inspect go code to infer jsonschema of arguments
listHubScripts(_options?: Configuration): Promise<RequestContext>
list all available hub scripts
listScripts(): Promise<RequestContext>
workspace: string,
page?: number,
perPage?: number,
orderDesc?: boolean,
createdBy?: string,
pathStart?: string,
pathExact?: string,
firstParentHash?: string,
lastParentHash?: string,
parentHash?: string,
showArchived?: boolean,
isTemplate?: boolean,
kind?: string,
_options?: Configuration,
list all available scripts
pythonToJsonschema(body: string, _options?: Configuration): Promise<RequestContext>
inspect python code to infer jsonschema of arguments
rawScriptByHash(): Promise<RequestContext>
raw script by hash
rawScriptByPath(): Promise<RequestContext>
raw script by path