The majority of Artifactory's REST-API resource now return JSON, not XML.
If you're using Artifactory's pro version, you can use the File List
resource<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#ArtifactorysRESTAPI-FileList>
which
basically does that.
If you're using the open source version, you can use the Folder Info
resource<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#ArtifactorysRESTAPI-FileList>
to
walk the tree.
On Thu, May 31, 2012 at 12:48 AM, darkn355 <[email protected]> wrote:
> I'm new to Artifactory and using APIs in general and am trying to find a
> way
> to retrieve an artifact listing in XML format for all artifacts in a
> repository. I'm looking for something similar to the output provided when
> using the "single metadata" API command from
> http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API
> http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API ,
> but
> for an entire repository. My current attempts fails at the highest
> directory
> level because no metadata is available (i.e.
> http://<ArtifactoryURL>/<RepoName>/<Directory1>). Is there any way around
> this?
>
> Thanks in advance for any insight anyone can provide!
>
> --
> View this message in context:
> http://forums.jfrog.org/Retrieve-Artifact-Listing-as-XML-tp7577977.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