replication

Update the replication policy

Update the replication policy

put/replication/policies/{id}

Path parameters

idinteger required

The policy ID

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

Success

Changes

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