Create or Replace Local Multi-push Replication

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Creates or replaces a local multi-push replication configuration. Supported by local repositories.

Notes: Requires an enterprise license

Note

For single repository replication, refer to the Update Repository Replication Configuration REST API.

Security: Requires an admin user.

Usage: PUT /api/replications/multiple/{repo-key}

Consumes: application/json (application/vnd.org.jfrog.artifactory.replications.MultipleReplicationConfigRequest+json)

Since: 3.7

Sample Usage:

PUT /api/replications/multiple/libs-release-local
{
 "cronExp":"0 0/9 14 * * ?", 
 "enableEventReplication":true, 
 "replications":[ 
        {
+               "url": "http://localhost:8081/artifactory/repo-k",
+               "socketTimeoutMillis": 15000,  
+               "username": "admin", 
+               "password": "password", 
-               "enableEventReplication": true,
-               "enabled": true, 
-               "syncDeletes": false, 
-               "syncProperties": true, 
-               "syncStatistics" : false,
-               "repoKey": "libs-release-local" 
        }
,
        { 
+               "url": "http://localhost:8081/artifactory/repo-v", 
+               "socketTimeoutMillis": 15000, 
+               "username": "admin", 
+               "password": "password", 
-               "enableEventReplication": true, 
-               "enabled": true, 
-               "syncDeletes": false, 
-               "syncProperties": true, 
-               "syncStatistics" : false,
-               "repoKey": "libs-release-local" 
        }
,
    {
+       "url": "http://localhost:8081/artifactory/repo-k", 
+       "socketTimeoutMillis": 15000, 
+       "username": "admin", 
+       "password": "password", 
-       "enableEventReplication": true, 
-       "enabled": true, 
-       "syncDeletes": false, 
-       "syncProperties": true, 
-       "syncStatistics" : false, 
-       "repoKey": "libs-release-local", 
-       "checkBinaryExistenceInFilestore" : "<true | false>" // When true, enables distributed checksum storage. For more inforomation, see Optimizing      Repository Replication with Checksum-Based Storage 
    }
,
    {

+       "url": "http://localhost:8081/artifactory/repo-v", 
+       "socketTimeoutMillis": 15000,
+       "username": "admin",
+       "password": "password", 
-       "enableEventReplication": true, 
-       "enabled": true, 
-       "syncDeletes": false, 
-       "syncProperties": true, 
-       "syncStatistics" : false, 
-       "repoKey": "libs-release-local", 
-       "checkBinaryExistenceInFilestore" : "<true | false>" // When true, enables distributed checksum storage. For more inforomation, see Optimizing Repository Replication with Checksum-Based Storage 
    }
  ] 
}

+=mandatory; -=optional