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

x/windmill/windmill-api/types/PromiseAPI.ts>PromiseAuditApi

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

Constructors

new
PromiseAuditApi(
configuration: Configuration,
requestFactory?: AuditApiRequestFactory,
responseProcessor?: AuditApiResponseProcessor,
)

Methods

getAuditLog(
workspace: string,
id: number,
_options?: Configuration,
): Promise<AuditLog>

get audit log (requires admin privilege)

listAuditLogs(
workspace: string,
page?: number,
perPage?: number,
before?: Date,
after?: Date,
username?: string,
operation?: string,
resource?: string,
actionKind?:
| "Create"
| "Update"
| "Delete"
| "Execute"
,
_options?: Configuration,
): Promise<Array<AuditLog>>

list audit logs (requires admin privilege)