class JobApiRequestFactory
extends BaseAPIRequestFactory
import { JobApiRequestFactory } from "https://deno.land/x/windmill@v1.38.0/windmill-api/apis/JobApi.ts";
no description
Methods
cancelQueuedJob(): Promise<RequestContext>
cancel queued job
cancelSuspendedJobGet(): Promise<RequestContext>
workspace: string,
id: string,
resumeId: number,
signature: string,
payload?: any,
_options?: Configuration,
cancel a job for a suspended flow
cancelSuspendedJobPost(): Promise<RequestContext>
workspace: string,
id: string,
resumeId: number,
signature: string,
body?: any,
_options?: Configuration,
cancel a job for a suspended flow
createJobSignature(): Promise<RequestContext>
create an HMac signature given a job id and a resume id
deleteCompletedJob(): Promise<RequestContext>
delete completed job (erase content but keep run id)
getCompletedJob(): Promise<RequestContext>
get completed job
getJob(): Promise<RequestContext>
get job
getJobUpdates(): Promise<RequestContext>
get job updates
listCompletedJobs(): Promise<RequestContext>
workspace: string,
orderDesc?: boolean,
createdBy?: string,
parentJob?: string,
scriptPathExact?: string,
scriptPathStart?: string,
scriptHash?: string,
createdBefore?: Date,
createdAfter?: Date,
success?: boolean,
jobKinds?: string,
isSkipped?: boolean,
isFlowStep?: boolean,
_options?: Configuration,
list all available completed jobs
listJobs(): Promise<RequestContext>
workspace: string,
createdBy?: string,
parentJob?: string,
scriptPathExact?: string,
scriptPathStart?: string,
scriptHash?: string,
createdBefore?: Date,
createdAfter?: Date,
jobKinds?: string,
isSkipped?: boolean,
isFlowStep?: boolean,
success?: boolean,
_options?: Configuration,
list all available jobs
listQueue(): Promise<RequestContext>
workspace: string,
orderDesc?: boolean,
createdBy?: string,
parentJob?: string,
scriptPathExact?: string,
scriptPathStart?: string,
scriptHash?: string,
createdBefore?: Date,
createdAfter?: Date,
success?: boolean,
jobKinds?: string,
_options?: Configuration,
list all available queued jobs
resumeSuspendedJobGet(): Promise<RequestContext>
workspace: string,
id: string,
resumeId: number,
signature: string,
payload?: any,
_options?: Configuration,
resume a job for a suspended flow
resumeSuspendedJobPost(): Promise<RequestContext>
workspace: string,
id: string,
resumeId: number,
signature: string,
body?: any,
_options?: Configuration,
resume a job for a suspended flow
runFlowByPath(): Promise<RequestContext>
workspace: string,
path: string,
requestBody: { [key: string]: any; },
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run flow by path
runFlowPreview(): Promise<RequestContext>
run flow preview
runScriptByHash(): Promise<RequestContext>
workspace: string,
hash: string,
body: any,
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run script by hash
runScriptByPath(): Promise<RequestContext>
workspace: string,
path: string,
requestBody: { [key: string]: any; },
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run script by path
runScriptPreview(): Promise<RequestContext>
run script preview
runWaitResultScriptByPath(): Promise<RequestContext>
workspace: string,
path: string,
requestBody: { [key: string]: any; },
scheduledFor?: Date,
scheduledInSecs?: number,
parentJob?: string,
_options?: Configuration,
run script by path