Description: Returns a list of minimal repository details for all repositories of the specified type. Filter the results using the following parameters:
typefor repositories of a specific type (local, remote, virtual, federated, distributed)packageTypefor repositories of a specific package typeprojectfor repositories assigned to a specific project
Note: Federated repositories are supported from Artifactory 7.18.3 and require an Enterprise X or Enterprise+ subscription.
Since: 2.2.0 (packageType option was introduced in version 6.2.0)
Security: Requires a privileged user (including anonymous if enabled)
Usage: GET /artifactory/api/repositories[?type=(local|remote|virtual|federated|distribution)]|
[&packageType=bower|cargo|chef|cocoapods|composer|conan|cran |debian|docker|gems|gitlfs|go|gradle|helm|ivy|maven|nuget|opkg|p2|pub|puppet |pypi|rpm|sbt|swift|terraform|vagrant|yum|generic]|
[&project=projectKey]
Produces: application/json (application.vnd.org.jfrog.artifactory.repositories.RepositoryDetailsList+json)
Sample Output:
GET /artifactory/api/repositories
[
{
"key" : "libs-releases-local",
"type" : "LOCAL",
"description" : "Local repository for in-house libraries",
"url" : "http://localhost:8081/artifactory/libs-releases-local",
"packageType": "Generic"
}, {
"key" : "libs-snapshots-local",
"type" : "LOCAL",
"description" : "Local repository for in-house snapshots",
"url" : "http://localhost:8081/artifactory/libs-snapshots-local",
"packageType": "Maven"
}
]