Checksum Search

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Artifact search by checksum (md5, sha1, or sha256)

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

Notes: Requires Artifactory Pro

Since: 2.3.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/search/checksum?md5=md5sum?sha1=sha1sum?sha256=sha256sum[&repos=x[,y]]

Headers (Optionally): X-Result-Detail: info (to add all extra information of the found artifact), X-Result-Detail: properties (to get the properties of the found artifact), X-Result-Detail: info, properties (for both).

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

Sample Output:

GET /api/search/checksum?sha256=9a7fb65f15e00aa2a22c1917d0dafd4374fee8daf0966a4d94cd37a0b9acafb9&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"
        }
]
}