auditlog

Get recent logs of the projects which the user is a member with project_admin role, or return all audit logs for system admin user

This endpoint let user see the recent operation logs of the projects which he is member with project_admin role, or return all audit logs for system admin user.

get/auditlog-exts

Query parameters

qstring

Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=v)", "range(k=[minmax])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=v2,k3=[minmax]

sortstring

Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"

pageinteger

The page number

page_sizeinteger

The size of per page

Headers

X-Request-Idstring

An unique ID for the request

Response

Success

idinteger

The ID of the audit log entry.

usernamestring

The username of the operator in this log entry.

resourcestring

Name of the resource in this log entry.

resource_typestring

Type of the resource in this log entry.

operationstring

The operation against the resource in this log entry.

operation_descriptionstring

The operation's detail description

operation_resultboolean

the operation's result, true for success, false for fail

op_timestring date-time

The time when this operation is triggered.

Example response

[
  {
    "op_time": "2006-01-02T15:04:05Z"
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.