I'm trying to use the Artifactory Rest API to retrieve the latest published version of a file. The file in question is a simple zip of a bunch of YAML files used for configuration. I can upload and download these files in TeamCity using File Specs, however I can't find any reference of this functionality in the Rest API docs (or indeed, any way to do almost anything that isn't an action on a maven repository)
You can define and use a custom Repository Layout. This way, in order to download the latest version of the file, you can use the [RELEASE]
placeholder. The actual latest version will be automatically resolved by the extracted version value based on the layout.
See also: