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)
Go to Latest
class AppService
import { AppService } from "https://deno.land/x/windmill@v1.73.0/windmill-api/index.ts";

Static Methods

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

create app

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

delete app

executeComponent(unnamed 0: { workspace: string; path: string; requestBody: { path?: string; args: any; raw_code?: { content: string; language: string; path?: string; }; force_viewer_static_fields?: any; }; }): 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; }): CancelablePromise<AppWithLastVersion>

get app by path

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

get app by 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

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; }): CancelablePromise<Array<ListableApp>>

list all available apps

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

list all available hub apps

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

update app