Repository Configuration

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns the current configuration of a repository. Supported by local, remote and virtual repositories. Contrary to Artifactory REST APIs - this API will return only relevant fields.

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

{
  "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
}