replication

Create a replication policy

Create a replication policy

post/replication/policies

Headers

X-Request-Idstring

An unique ID for the request

Request body

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.

Response

Created

Changes