我想在我的工件中搜索所有具有某些属性的工件-
items.find({"@some_property" : {"$eq" : "some_value"}})
在使用 REST API 时我该怎么做?
下面是一个例子:
遵循 AQL 查询
items.find(
{
"repo":{"$eq":"mymavenrepo"},
"name": {"$match" : "*.jar"}
}
)
可以转换为这个 REST 调用
http://localhost/artifactory/api/search/artifact?name=*jar&re
pos=jcenter-cache
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句