Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 2.44 KB

AuditlogApi.md

File metadata and controls

48 lines (31 loc) · 2.44 KB

\AuditlogApi

All URIs are relative to http://localhost/api/v2.0

Method HTTP request Description
ListAuditLogs Get /audit-logs Get recent logs of the projects which the user is a member of

ListAuditLogs

[]AuditLog ListAuditLogs(ctx, optional) Get recent logs of the projects which the user is a member of

This endpoint let user see the recent operation logs of the projects which he is member of

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AuditlogApiListAuditLogsOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AuditlogApiListAuditLogsOpts struct

Name Type Description Notes
xRequestId optional.String An unique ID for the request
q optional.String 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]
sort optional.String Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2"
page optional.Int64 The page number [default to 1]
pageSize optional.Int64 The size of per page [default to 10]

Return type

[]AuditLog

Authorization

basic

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]