project

Get recent logs of the projects (deprecated)

Get recent logs of the projects, it only query the previous version's audit log

get/projects/{project_name}/logs

Path parameters

project_namestring required

The name of the project

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

Username of the user in this log entry.

resourcestring

Name of the repository in this log entry.

resource_typestring

Tag of the repository in this log entry.

operationstring

The operation against the repository in this log entry.

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.