Import Repository Content

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Import one or more repositories.

Since: 2.2.2

Security: Requires a valid admin user

Usage: POST: /api/import/repositories

Requests Params:

path - The file system path to import from. This may point to a specific folder to import data for a single repository, or to the parent "repositories" folder to import data for all repositories.

repo - Empty/null repo -> all

metadata - Include metadata - default 1

verbose - Verbose - default 0

Produces: text/plain

Sample Output:

POST: /api/import/repositories?path=pathToRepos&verbose=1