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

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

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

Constructors

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

Properties

private
configuration: Configuration
private
requestFactory: AuditApiRequestFactory
private
responseProcessor: AuditApiResponseProcessor

Methods

getAuditLog(
workspace: string,
id: number,
_options?: Configuration,
): Observable<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,
): Observable<Array<AuditLog>>

list audit logs (requires admin privilege)