Set Repository Replication Configuration

Add or replace replication configuration for given repository key. Supported by local and remote repositories. Accepts the JSON payload returned from Get Repository Replication Configuration for a single and an array of configurations. If the payload is an array of replication configurations, then values for cronExp and enableEventReplication in the first element in the array will determine the corresponding values when setting the repository replication configuration. Requires Artifactory Pro.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

Repository key

Body Params

Replication configuration (single object or array)

Replication configuration for creating/updating replications. Note that repoKey and replicationKey are returned in responses but not required in requests.

string

URL of the remote repository (required for local replication)

int32

Socket timeout in milliseconds

string

Username for authentication

string

Password for authentication

boolean

Enable event-based replication (refers to both push and pull replication)

boolean

Whether replication is enabled

string

Cron expression for scheduled replication

boolean

Whether to sync deletions (default false)

boolean

Whether to sync properties (default true)

boolean

Whether to sync statistics

string

Include path prefix pattern (added in Artifactory 7.24.4)

string

Exclude path prefix pattern (added in Artifactory 7.24.4)

string

Proxy ID

boolean

When true, disables proxy usage for this replication

boolean

When true, enables distributed checksum storage. Requires Enterprise+ license.

Responses
200

Replication configuration set successfully

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json