Bad Checksum Search

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Find all artifacts that have a bad or missing client checksum values (md5 or sha1)

Searches return file info uris. Can limit search to specific repositories (local, remote-cache or virtual).

Notes: Requires Artifactory Pro

Since: 2.3.4

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/search/badChecksum?type=md5|sha1[&repos=x[,y]]

Produces: application/json (application/vnd.org.jfrog.artifactory.search.BadChecksumSearchResult+json)

Sample Output:

GET /api/search/badChecksum?type=md5&repos=libs-release-local
{
"results": [
{
            "uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/jfrog/build-info-api/1.3.1/build-info-api-1.3.1.jar"
            "serverMd5": "4040c7c184620af0a0a8a3682a75eb7"
            "clientMd5": "4040c7c184620af0a0a8a3682a75e44" //On missing checksum this element will be an empty string
        }
]
}