Get Repository Configuration

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns the current configuration of a repository. Supported by local, remote, virtual, and Federated repositories.

Since: 2.3.0

Supported JFrog subscriptions

  • Local, remote, and virtual repositories require a Pro subscription.

  • Federated repositories are supported from Artifactory 7.18.3 and require an Enterprise X or Enterprise+ subscription.

Security: Requires an admin user for complete repository configuration. Non-admin users will receive only partial configuration data.

Usage: GET /artifactory/api/repositories/{repoKey}

Produces: application/json (application/vnd.org.jfrog.artifactory.repositories.LocalRepositoryConfiguration+json), application/json (application/vnd.org.jfrog.artifactory.repositories.RemoteRepositoryConfiguration+json)

application/json (application/vnd.org.jfrog.artifactory.repositories.VirtualRepositoryConfiguration+json)

application/vnd.org.jfrog.artifactory.repositories.FederatedRepositoryConfiguration+json

Sample Output:

GET /artifactory/api/repositories/libs-release-local
{
repository-config.json
}

Tip

This API returns a complete list of configuration properties, including properties unrelated to the repository's package type. Use the v2 version of this API to return only those properties that are relevant to the package type.