Hi Ken,

In order to get an artifact stats (which also holds download count) you
could perform a Single Metadata
Request<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#ArtifactorysRESTAPI-SingleMetadata>
like
this:
curl "http://host:port
/artifactory/libs-releases-local/artifact.jar:artifactory.stats"

The above will give you an xml response containing statistics about a
specific artifact.
Regarding the file list REST API, please notice that it's only
available in Artifactory
Pro <http://www.jfrog.com/home/v_artifactorypro_evaluate>

Shay.

On Tue, Aug 7, 2012 at 10:34 PM, Pacileo, Ken <[email protected]> wrote:

> Hi,
>
> We're on Artifactory Pro v2.6.1. We are discussing different means to
> gather info on OSS usage. We would like to get some stats like a list of
> the artifacts currently cached in a remote repo and the download count of
> each artifact. The documented REST api looks like we can use the File List
> call to get the list of all artifacts for a repo. I didn't see anything
> that would retrieve the download count though. Is there a call that will
> retrieve that info?
>
> This is the REST API documentation page I'm reading:
> http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API
>
> Thanks and regards,
> --Ken
>
> Ken Pacileo | Continuous Integration Services | UnitedHealth Group IT
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
>
> ------------------------------------------------------------------------------
> 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