File Statistics

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Item statistics record the number of times an item was downloaded, last download date, and last downloader. Supported by local and local-cached repositories.

Since: 3.1.0

Security: Requires read privileges

Usage: GET /api/storage/{repoKey}/{item-path}?stats

Produces: application/json (application/vnd.org.jfrog.storage.StatsInfo+json)

Sample Output:

GET /api/storage/libs-release-local/org/acme/foo/1.0/foo-1.0.jar?stats
{
  "uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/acme/foo/1.0/foo-1.0.jar",
  "lastDownloaded": Timestamp (ms),
  "downloadCount": 1337,
  "lastDownloadedBy": "user1"
}