Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.38.0/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

cancel a job for a suspended flow

cancel a job for a suspended flow

create an HMac signature given a job id and a resume id

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

resume a job for a suspended flow

resume a job for a suspended flow

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