Description: Find all artifacts that have bad or missing client checksum values (md5 or sha1)
Searches return file info URIs. Can limit the search to specific repositories (local, remote-cache, or virtual).
Notes: Requires Artifactory Pro or higher
Since: 2.3.4
Security: Requires a privileged user (can be anonymous)
Usage: GET /artifactory/api/search/badChecksum?type=md5|sha1[&repos=x[,y]]
Produces: application/json (application/vnd.org.jfrog.artifactory.search.BadChecksumSearchResult+json)
Sample Output:
GET https://<JFrogPlatformURL>/artifactory/api/search/badChecksum?type=md5&repos=libs-release-local
{
"results": [
{
"uri": "https://company.jfrog.io/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
}
]
}
Note
The response is limited to a maximum of 10000 results.