Description: Returns the current configuration of a repository, providing only those fields that are relevant to the package type. Supported by local, remote, virtual, and Federated repositories.
Since: 6.12.0
Security: Requires an admin user for complete repository configuration. Non-admin users will receive only partial configuration data.
Usage: GET /api/v2/repositories/{repoKey}
Produces: application/json, local repository, remote repository, virtual repository, Federated repository
{ "key" : "generic-local", "type" : "local", "packageType" : "generic", "description" : "", "notes" : "", "includesPattern" : "**/*", "excludesPattern" : "", "repoLayoutRef" : "maven-2-default", "blackedOut" : false, "propertySets" : [ ], "archiveBrowsingEnabled" : false, "downloadRedirect" : false, "xrayIndex" : false, "cdnRedirect" : false }