Configure Checksum Replication

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

You can configure metadata replication in the target Artifactory so that metadata replication of artifacts occurs between a source Artifactory and the target Artifactory while artifact replication is done with storage level replication. The API can also set days to trust the replication, which allows the transfer for a limited number of days. Allows the usage of the checkBinaryExistenceinFilestore flag in the Pull/Push Replication API on the source Artifactory. For more information, see Optimize Repository Replication Using Storage Level Synchronization Options.Optimize Repository Replication Using Storage Level Synchronization Options

Security: Requires an admin user.

Usage:  PUT /api/config/storage/checksumReplication

Consumes: application/json

[
    {
+       "checkBinaryExistenceAllowed" : "<true | false>",     // Allows the usage of the checkBinaryExistenceinFilestore flag in the Pull/Push Replication API on the source Artifactory.
-       "daysToTrust" : "<number of days to trust the replication>" // The number of days for which the full checksum from target Artifactory is trusted. Useful for migration process. The value cannot be more than 30 days. The default is 0. Artifactory UI displays the remaining number of days to trust when the admin logs in.                
 
    }
]

+=mandatory; -=optional

Since: 7.55.2

Sample Usage:

PUT /api/config/storage/checksumReplication
[
    {
        "checkBinaryExistenceAllowed" : "true"
    }
]