robot

Get robot account

List the robot accounts with the specified level and project.

get/robots

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 robot

namestring

The name of the robot

descriptionstring

The description of the robot

secretstring

The secret of the robot

levelstring

The level of the robot, project or system

durationinteger nullable

The duration of the robot in days, duration must be either -1(Never) or a positive integer

editableboolean

The editable status of the robot

disableboolean

The disable status of the robot

expires_atinteger

The expiration date of the robot

creator_typestring

The type of the robot creator, like local(harbor_user) or robot.

creator_refinteger

The reference of the robot creator, like the id of harbor user.

creation_timestring date-time

The creation time of the robot.

update_timestring date-time

The update time of the robot.

Changes

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