Property Search

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Search by properties.

If no value is specified for a property - assume '*'. Can limit search to specific repositories (local, remote-cache or virtual).

Since: 2.2.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/search/prop?[p1=v1,v2][&p2=v3][&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.MetadataSearchResult+json)

Sample Output:

GET /api/search/prop?p1=v1,v2&p2=v3&repos=libs-release-local
{
"results" : [
    {
        "uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/acme/lib/ver/lib-ver.pom"
    },{
        "uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/acme/lib/ver2/lib-ver2.pom"
    }
]
}