How to search for directories in Artifactory API? -


i know how list files in specific path want list of directories. possible ?

the easiest way use aql.
example, find folders in repo myrepo under path foo/bar/, use following query:

items.find({"repo":"myrepo","path":{"$match":"foo/bar/*"},"type":"folder"}) 

hth,
yinon


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -