Artifactory Query Language (AQL)

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Flexible and high performance search using Artifactory Query Language.

Since: 3.5.0

Security: Requires an authenticated user. Certain domains/queries may require Admin access.

Usage: POST /api/search/aql

Consumes: text/plain

Sample Usage:

POST /api/search/aql  
items.find(
        {
                "repo":{"$eq":"libs-release-local"}
        }
)

Produces: application/json

Sample Output:

{
        "results" : [
        {
                "repo" : "libs-release-local",
                "path" : "org/jfrog/artifactory",
                "name" : "artifactory.war",
                "type" : "item type",
                "size" : "75500000",
                "created" : "2015-01-01T10:10;10",
                "created_by" : "Jfrog",
                "modified" : "2015-01-01T10:10;10",
                "modified_by" : "Jfrog",
                "updated" : "2015-01-01T10:10;10"
        }
        ],
        "range" : {
        "start_pos" : 0,
        "end_pos" : 1,
        "total" : 1
        }
}