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

x/windmill/windmill-api/apis/ResourceApi.ts>ResourceApiRequestFactory

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 ResourceApiRequestFactory
import { ResourceApiRequestFactory } from "https://deno.land/x/windmill@v1.38.2/windmill-api/apis/ResourceApi.ts";

no description

Methods

createResource(
workspace: string,
createResource: CreateResource,
_options?: Configuration,
): Promise<RequestContext>

create resource

createResourceType(
workspace: string,
resourceType: ResourceType,
_options?: Configuration,
): Promise<RequestContext>

create resource_type

deleteResource(
workspace: string,
path: string,
_options?: Configuration,
): Promise<RequestContext>

delete resource

deleteResourceType(
workspace: string,
path: string,
_options?: Configuration,
): Promise<RequestContext>

delete resource_type

existsResource(
workspace: string,
path: string,
_options?: Configuration,
): Promise<RequestContext>

does resource exists

existsResourceType(
workspace: string,
path: string,
_options?: Configuration,
): Promise<RequestContext>

does resource_type exists

getResource(
workspace: string,
path: string,
_options?: Configuration,
): Promise<RequestContext>

get resource

getResourceType(
workspace: string,
path: string,
_options?: Configuration,
): Promise<RequestContext>

get resource_type

listResource(
workspace: string,
page?: number,
perPage?: number,
resourceType?: string,
_options?: Configuration,
): Promise<RequestContext>

list resources

listResourceType(workspace: string, _options?: Configuration): Promise<RequestContext>

list resource_types

listResourceTypeNames(workspace: string, _options?: Configuration): Promise<RequestContext>

list resource_types names

updateResource(
workspace: string,
path: string,
editResource: EditResource,
_options?: Configuration,
): Promise<RequestContext>

update resource

updateResourceType(
workspace: string,
path: string,
editResourceType: EditResourceType,
_options?: Configuration,
): Promise<RequestContext>

update resource_type