How can we get the Created, Last Modified, Last Updated and Last Downloaded Date  values from the Artifactory?

ARTIFACTORY: Difference between Created, Last Modified, Last Updated and Last Downloaded Date in Artifactory

AuthorFullName__c
Sanjay C
articleNumber
000005926
ft:sourceType
Salesforce
FirstPublishedDate
2023-12-01T15:52:47Z
lastModifiedDate
2024-08-11
VersionNumber
5
We can get the value of these attributes from Artifactory UI, Artifactory REST API or Artifactory Database. We have described each step below in detail.

From the Artifactory UI, we have to navigate to respective Artifact under  Application -> Artifactory -> Artifacts and then you find the Created Date, Last Modified Date and Last Downloaded Date(If download) under the General Info. Attached below screenshot for reference.

User-added image

From the Artifactory REST API , we can get the values of these attributes using file info and file statistics REST API. From the file info REST API, we can get the Created Date, Last Modified Date and Last updated Date and from the file statistics REST API, we can get the Last Downloaded Date if Artifact is downloaded at least once else the value will be ‘0’.

From the Artifactory Database, all these attributes are stored in the nodes and stats tables. From the nodes table, we can get the Created Date, Last Modified Date and Last updated Date and from the stats table, we can get the Last Downloaded Date if Artifact is downloaded at least once else we will not have an entry in the stats table. The value of the dates will be stored in the epoch time format. Please you can use an online epoch converter to connect it to human readable format.