replication

List replication policies

List replication policies

get/replication/policies

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

namestring

Deprecated, use "query" instead. The policy name.

Headers

X-Request-Idstring

An unique ID for the request

Response

Success

idinteger

The policy ID.

namestring

The policy name.

descriptionstring

The description of the policy.

dest_namespacestring

The destination namespace.

dest_namespace_replace_countinteger

Specify how many path components will be replaced by the provided destination namespace. The default value is -1 in which case the legacy mode will be applied.

replicate_deletionboolean

Whether to replicate the deletion operation.

deletionboolean

Deprecated, use "replicate_deletion" instead. Whether to replicate the deletion operation.

overrideboolean

Whether to override the resources on the destination registry.

enabledboolean

Whether the policy is enabled or not.

creation_timestring date-time

The create time of the policy.

update_timestring date-time

The update time of the policy.

speedinteger

speed limit for each task

copy_by_chunkboolean

Whether to enable copy by chunk.

single_active_replicationboolean

Whether to skip execution until the previous active execution finishes, avoiding the execution of the same replication rules multiple times in parallel.

Changes