Update Local Multi-push Replication

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Updates a local multi-push replication configuration. Supported by local repositories.

Notes: Requires an enterprise license

Security: Requires an admin user.

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

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

Since: 3.7

Sample Usage:

POST /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" 
                }
        ]        
}

+=mandatory; -=optional