Artifacts Not Downloaded Since

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns all artifacts not downloaded since the specified Java epoch in milliseconds.

Optionally include only artifacts created before the specified createdBefore date, otherwise only artifacts created before notUsedSince are returned.

Can limit search to specific repositories (local or caches).

Since: 2.2.4

Security: Requires a privileged non-anonymous user.

Usage: GET /api/search/usage?notUsedSince=javaEpochMillis[&createdBefore=javaEpochMillis][&repos=x[,y]]

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

Sample Output:

GET /api/search/usage?notUsedSince=long&createdBefore=long&repos=libs-release-local
{
"results" : [
    {
        "uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/acme/lib/ver/lib-ver.jar",
        "lastDownloaded": ISO8601
    },{
        "uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/acme/lib/ver2/lib-ver2.jar",
        lastDownloaded: ISO8601
    }
]
}