JFrog artifactory search API based on path after repos parameter

Viewed 2262

I'm using Jfrog Artifactory to store my build artifacts of maven type, I've setup repository as $ARTIFACT_BASEURL/MYREPO/TeamName/API_Name/api-1.0.0.jar where MYREPO is the actual repository name and TeamName/API_Name is subfolder in it to store api specific artifacts. All good while I do API build and push the artifacts to their respective folders in MYREPO.

While I try to lookup at the repository using JFrog search API, it is not allowing subfolder/path in the search API, like I mentioned below,

currently: curl -H X-JFrog-Art-Api:apikey “https://artifactory.company.com/artifactory/api/search/artifact?name=company&repos=MYREPO”

expected: Curl -H X-JFrog-Art-Api:apikey “https://artifactory.company.com/artifactory/api/search/artifact?name=company&repos=MYREPO/TeamName/API_Name” or Curl -H X-JFrog-Art-Api:apikey “https://artifactory.company.com/artifactory/api/search/artifact?name=company&repos=MYREPO&path=TeamName/API_Name”

so that I can do a lookup on the binaries stored in this path.

Please suggest/correct me in getting the process right

Thanks a ton!!

1 Answers
Related