Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/types/ObservableAPI.ts>ObservableScheduleApi

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 ObservableScheduleApi
import { ObservableScheduleApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/ObservableAPI.ts";

Constructors

new
ObservableScheduleApi(
configuration: Configuration,
requestFactory?: ScheduleApiRequestFactory,
responseProcessor?: ScheduleApiResponseProcessor,
)

Properties

private
configuration: Configuration
private
requestFactory: ScheduleApiRequestFactory
private
responseProcessor: ScheduleApiResponseProcessor

Methods

createSchedule(
workspace: string,
newSchedule: NewSchedule,
_options?: Configuration,
): Observable<string>

create schedule

deleteSchedule(
workspace: string,
path: string,
_options?: Configuration,
): Observable<string>

delete schedule

existsSchedule(
workspace: string,
path: string,
_options?: Configuration,
): Observable<boolean>

does schedule exists

getSchedule(
workspace: string,
path: string,
_options?: Configuration,
): Observable<Schedule>

get schedule

listSchedules(
workspace: string,
page?: number,
perPage?: number,
_options?: Configuration,
): Observable<Array<Schedule>>

list schedules

previewSchedule(inlineObject17: InlineObject17, _options?: Configuration): Observable<Array<Date>>

preview schedule

setScheduleEnabled(
workspace: string,
path: string,
inlineObject18: InlineObject18,
_options?: Configuration,
): Observable<string>

set enabled schedule

updateSchedule(
workspace: string,
path: string,
editSchedule: EditSchedule,
_options?: Configuration,
): Observable<string>

update schedule