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

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

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

Constructors

new
ObservableWorkspaceApi(
configuration: Configuration,
requestFactory?: WorkspaceApiRequestFactory,
responseProcessor?: WorkspaceApiResponseProcessor,
)

Properties

private
configuration: Configuration
private
requestFactory: WorkspaceApiRequestFactory
private
responseProcessor: WorkspaceApiResponseProcessor

Methods

createWorkspace(createWorkspace: CreateWorkspace, _options?: Configuration): Observable<string>

create workspace

deleteInvite(
workspace: string,
inlineObject8: InlineObject8,
_options?: Configuration,
): Observable<string>

delete user invite

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

delete workspace

editSlackCommand(
workspace: string,
inlineObject9: InlineObject9,
_options?: Configuration,
): Observable<string>

edit slack command

existsUsername(inlineObject4: InlineObject4, _options?: Configuration): Observable<boolean>

exists username

existsWorkspace(inlineObject3: InlineObject3, _options?: Configuration): Observable<boolean>

exists workspace

getSettings(workspace: string, _options?: Configuration): Observable<InlineResponse200>

get settings

inviteUser(
workspace: string,
inlineObject7: InlineObject7,
_options?: Configuration,
): Observable<string>

invite user to workspace

listPendingInvites(workspace: string, _options?: Configuration): Observable<Array<WorkspaceInvite>>

list pending invites for a workspace

list all workspaces visible to me with user info

list all workspaces visible to me

listWorkspacesAsSuperAdmin(
page?: number,
perPage?: number,
_options?: Configuration,
): Observable<Array<Workspace>>

list all workspaces as super admin (require to be super admin)