Retrieve an item at the given path based on version number

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Retrieve an item at the given path based on version number

iabhinay85
Hi I am trying to retrieve an Artifactory item based on a input variable rather than using Last Modified parameter.

Currently i have below curl command to get lastModified Artifactory item, but in my json script i have to set a input variable so that it will curl get the version based on the input variable i pass.

curl -s -u artifactory.reader:xxxxx https://artifactory.xxx.xxx.net/artifactory/api/storage/simple-local-repo/oracle/bootstrap?lastModified