Hi,

We do have a REST API for that (since version 2.6.0):
1. Artifact Version
Search<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#ArtifactorysRESTAPI-ArtifactVersionSearch>
2. Artifact Latest Version
Search<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#ArtifactorysRESTAPI-ArtifactLatestVersionSearch>

Both of them are available in Artifactory Pro
version<http://www.jfrog.com/addons.php>
.

It is also possible to download the latest artifact (via regular URL), see
these issues:
1. Support downloading the latest Maven
snapshot<https://issues.jfrog.org/jira/browse/RTFACT-4855> (from
version 2.6.0)
2. Download latest version/integration for non-Maven
artifacts<https://issues.jfrog.org/jira/browse/RTFACT-4932> (will
be included in our upcoming release of 2.6.2).
The above are available also for OSS version as well as for the Pro version.

Regards,
Shay.

On Sat, Jun 30, 2012 at 5:18 AM, cthw <[email protected]> wrote:

> Hi, I am relatively new to artifactory.  Can you share how to use the
> Artifactory REST api to fetch the latest version of a particular artifact
> from the artifactory server?
>
> For example, I have a jar (called testOne.jar which has version 1.0, 1.1,
> 1.2, ...1.n).  I like to be able to pull the latest version which is "1.n".
>
> thanks,
> cthw
>
>
> --
> View this message in context:
> http://forums.jfrog.org/REST-pull-latest-library-JAR-WAR-and-or-ZIP-from-artifactory-tp7578057.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to