我正在尝试通过CURL查看已扫描的npm(tgz)工件的详细信息
我关注了https://www.jfrog.com/confluence/display/XRAY/Xray+REST+API#XrayRESTAPI-ArtifactSummary
但是我似乎没有得到任何输出或指示错误的状态代码,我使用的路径是工件中文件的路径,我还尝试了针对特定软件包在工件上找到的MD5校验和
我尝试过这样
curl -X POST http://IP:Port/v2/artifact/summary -d data.json
data.json: # first try
{
"paths": [
"path-of-package-in-artifactory"
]
}
data.json: # second try
{
"checksums": [
"md5-checksum-of-the-package-found-in-artifactory"
]
}