I'm new to the Artifactory. Currently I'm working on a project to list all
the artifacts in a repository.

Artifactory version:4.1.3 Pro (turned off the cert verification)

$curl -u uname:password -X POST -k
https://artifactory.xxxx.com/artifactory/api/search/aql -d
"items.find({"repo":"war"}).include("name","repo","path","size").sort({"$desc":["size"]}).limit(10)"


<!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;>
<html><head>
<title>404 Not Found</title>
</head><body>
Not Found

<p>The requested URL /artifactory/api/search/aql was not found on this
server.</p>
<hr>
<address>Apache/2.2.31 (Amazon) Server at artifactory.xxxx.com Port
443</address>
</body></html>

It's throwing an error(Bad request). Try to list out the artifacts in the
following repos war,war-dev,war-release,webapp,webapp-dev(get the list of
repos from Artifactory database and http request).

Tried to list out the artifacts using REST calls anonymously,But there are
no logs in $ARTIFACTORY_HOME/logs/request_trace.log
$ARTIFACTORY_HOME/logs/request.log

Get the list of repos from artdb(Artifactory database) and artifactory url.
listed repos are different from one to other. Which one is correct?

Listed so many repos

mysql> select distinct(repo) from nodes;
| war                               |
| war-dev                           |
| war-release                       |

https://artifactory.xxxx.com/artifactory/repo/
webapp/                                                       
webapp-dev/                                                    

Can someone help to find out the list of artifacts in repo Please. Thank
you!



--
View this message in context: 
http://forums.jfrog.org/list-all-artifacts-in-a-repository-on-artifactory-jfrog-tp7580874.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to