Reputation: 1367
I've got a path to the artifact but I do not want to download it, just check whether it exists. What would be the "cheapest/fastest" way to achieve it?
Upvotes: 4
Views: 8601
Reputation: 3351
Adding an answer here in case other people are hunting for this like I was.
Buried in the docs, you can do a GET query to http://{your_artifactory_url}/api/storage/{path/to/file}
. Make sure you allow redirects.
Note that this is different from the url you use to PUT files.
Upvotes: 4