Skip to main content
Module

x/windmill/windmill-api/types/ObjectParamAPI.ts>ObjectJobApi

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class ObjectJobApi
import { ObjectJobApi } from "https://deno.land/x/windmill@v1.28.1/windmill-api/types/ObjectParamAPI.ts";

Constructors

new
ObjectJobApi(
configuration: Configuration,
requestFactory?: JobApiRequestFactory,
responseProcessor?: JobApiResponseProcessor,
)

Methods

cancelQueuedJob(param: JobApiCancelQueuedJobRequest, options?: Configuration): Promise<string>

cancel queued job

delete completed job (erase content but keep run id)

get completed job

getJob(param: JobApiGetJobRequest, options?: Configuration): Promise<Job>

get job

get job updates

list all available completed jobs

listJobs(param: JobApiListJobsRequest, options?: Configuration): Promise<Array<Job>>

list all available jobs

listQueue(param: JobApiListQueueRequest, options?: Configuration): Promise<Array<QueuedJob>>

list all available queued jobs

runFlowByPath(param: JobApiRunFlowByPathRequest, options?: Configuration): Promise<string>

run flow by path

runFlowPreview(param: JobApiRunFlowPreviewRequest, options?: Configuration): Promise<string>

run flow preview

runScriptByHash(param: JobApiRunScriptByHashRequest, options?: Configuration): Promise<string>

run script by hash

runScriptByPath(param: JobApiRunScriptByPathRequest, options?: Configuration): Promise<string>

run script by path

run script preview

run script by path