Nexus2: How can I get a list of all artifacts from a specific repository via REST API? I want to get a list (json) of all artifacts in one specific repository via the REST API. 

I've already tried: 

curl -X GET http://localhost/nexus/service/local/respositories/&lt;reponame&gt;/content/


This works, but it deliveres me a json listing all my subdirectories in this repo. But what I want is a list with all the artifacts contained in all subdirectories.

Someone knows how to do this? Is there a way to iterate through all folders? I was thinking about the search keyword, but I wouldn't know for what to search.
Try this: 

# Get status
curl http://localhost:8081/nexus/service/local/status 
# List of repositories
curl http://localhost:8081/nexus/service/local/repositories


For the json parameter: 

curl -i -H "Accept: application/json" &lt;url&gt;


More information, see this link