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

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

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 VariableService
import { VariableService } from "https://deno.land/x/windmill@v1.265.1/windmill-api/index.ts";

Static Methods

createVariable(unnamed 0: { workspace: string; requestBody: CreateVariable; alreadyEncrypted?: boolean; }): CancelablePromise<string>

create variable

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

delete variable

encryptValue(unnamed 0: { workspace: string; requestBody: string; }): CancelablePromise<string>

encrypt value

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

does variable exists at path

getVariable(unnamed 0: { workspace: string; path: string; decryptSecret?: boolean; includeEncrypted?: boolean; }): CancelablePromise<ListableVariable>

get variable

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

get variable value

listContextualVariables(unnamed 0: { workspace: string; }): CancelablePromise<Array<ContextualVariable>>

list contextual variables

listVariable(unnamed 0: { workspace: string; }): CancelablePromise<Array<ListableVariable>>

list variables

updateVariable(unnamed 0: { workspace: string; path: string; requestBody: EditVariable; alreadyEncrypted?: boolean; }): CancelablePromise<string>

update variable