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

x/windmill/windmill-api/index.ts>AppService

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

Static Methods

createApp(unnamed 0: { workspace: string; requestBody: { path: string; value: any; summary: string; policy: Policy; draft_only?: boolean; deployment_message?: string; }; }): CancelablePromise<string>

create app

deleteApp(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

delete app

executeComponent(unnamed 0: { workspace: string; path: string; requestBody: { component: string; path?: string; args: any; raw_code?: { content: string; language: string; path?: string; lock?: string; cache_ttl?: number; }; force_viewer_static_fields?: any; force_viewer_one_of_fields?: any; force_viewer_allow_user_resources?: Array<string>; }; }): CancelablePromise<string>

executeComponent

existsApp(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>

does an app exisst at path

getAppByPath(unnamed 0: { workspace: string; path: string; withStarredInfo?: boolean; }): CancelablePromise<AppWithLastVersion>

get app by path

getAppByPathWithDraft(unnamed 0: { workspace: string; path: string; }): CancelablePromise<AppWithLastVersionWDraft>

get app by path with draft

getAppByVersion(unnamed 0: { workspace: string; id: number; }): CancelablePromise<AppWithLastVersion>

get app by version

getAppHistoryByPath(unnamed 0: { workspace: string; path: string; }): CancelablePromise<Array<AppHistory>>

get app history by path

getAppLatestVersion(unnamed 0: { workspace: string; path: string; }): CancelablePromise<AppHistory>

get apps's latest version

getHubAppById(unnamed 0: { id: number; }): CancelablePromise<{ app: { summary: string; value: any; }; }>

get hub app by id

getPublicAppBySecret(unnamed 0: { workspace: string; path: string; }): CancelablePromise<AppWithLastVersion>

get public app by secret

getPublicResource(unnamed 0: { workspace: string; path: string; }): CancelablePromise<any>

get public resource

getPublicSecretOfApp(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

get public secret of app

listApps(unnamed 0: { workspace: string; page?: number; perPage?: number; orderDesc?: boolean; createdBy?: string; pathStart?: string; pathExact?: string; starredOnly?: boolean; includeDraftOnly?: boolean; withDeploymentMsg?: boolean; }): CancelablePromise<Array<ListableApp>>

list all apps

listHubApps(): CancelablePromise<{ apps?: Array<{ id: number; app_id: number; summary: string; apps: Array<string>; approved: boolean; votes: number; }>; }>

list all hub apps

listSearchApp(unnamed 0: { workspace: string; }): CancelablePromise<Array<{ path: string; value: any; }>>

list apps for search

updateApp(unnamed 0: { workspace: string; path: string; requestBody: { path?: string; summary?: string; value?: any; policy?: Policy; deployment_message?: string; }; }): CancelablePromise<string>

update app

updateAppHistory(unnamed 0: { workspace: string; id: number; version: number; requestBody: { deployment_msg?: string; }; }): CancelablePromise<string>

update app history