v1

latestSwagger 2.0Apache 2.02026-07-179259202.7 KB
Audit

Get Audits

Get Audits

get/api/v1/audits

Query parameters

pageinteger required

current page

per_pageinteger required

return max item count, default 10, max 50

Response

OK

actor_namestring

ActorName represents the actor name, it can be the username or token name.

actor_typestring

ActorType represents the actor type, which can be one of the following:

  • UNKNOWN: Represents an unknown actor such as not authenticated.
  • USER: Represents a user.
  • PAT: Represents a personal access token.
created_atstring
detailD7yIoDragonflyV2ManagerModelsJSONMap
event_typestring

EventType represents the event type, indicates the type of event, API for http request, can expand to other types such as SYSTEM for internal system events in future.

idinteger
is_delinteger
operated_atstring

OperatedAt represents the operation time.

operationstring

Operation represents the operation, it will be the HTTP method for API events.

pathstring

Path represents the request path, it will be the URL path for API events.

statestring

State represents the state, it indicates the state of the operation, e.g SUCCESS for API status code >= 200 & < 300.

status_codeinteger

StatusCode represents the status code, can be ignored for non-API events.

updated_atstring