Deprecation Notice
This API is deprecated and is scheduled for removal in a future version of Artifactory. We strongly recommend using Artifactory Query Language (AQL) for all new development.
Description: Search archive for classes or any other resources within an archive.
Can limit search to specific repositories (local or caches).
Since: 2.2.0
Security: Requires a privileged user (can be anonymous)
Usage: GET /artifactory/api/search/archive?name=[archiveEntryName][&repos=x[,y]]
Produces: application/json (application/vnd.org.jfrog.artifactory.search.ArchiveEntrySearchResult+json)
Sample Output:
GET https://<JFrogPlatformURL>/artifactory/api/search/archive?name=*Logger.class&repos=third-party-releases-local,repo1-cache
{
"results" :[
{
"entry": "org/apache/jackrabbit/core/query/lucene/AbstractIndex.LoggingPrintStream.class",
"archiveUris": [
"https://company.jfrog.io/artifactory/api/storage/third-party-releases-local/org/apache/jackrabbit/
jackrabbit-core/1.2.3/jackrabbit-core-1.2.3.jar",
"https://company.jfrog.io/artifactory/api/storage/third-party-releases-local/org/apache/jackrabbit/
jackrabbit-core/1.3.1/jackrabbit-core-1.3.1.jar"
]
},{
"entry": "org/codehaus/plexus/logging/AbstractLogger.class",
"archiveUris": [
"https://company.jfrog.io/artifactory/api/storage/repo1-cache/org/codehaus/plexus/plexus-container-default/
1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar"
]
}
]
}