Export Release Bundle Version v2 Archived File

JFrog REST APIs

ft:sourceType
Paligo

Description: Triggers the Release Bundle v2 export process from JFrog Distribution. This is used when working in an Air Gap environment.Distribute Release Bundles (v2) in an Air Gap Environment

Note

To import a Release Bundle v2 version, use the same API that is used to import a Release Bundles v1 version. For details, see Import Release Bundle Version.

Since: 7.63.2 (Artifactory), 2.19.1 (Distribution)

Security: Requires Release Bundle distribute permissions.

Usage: POST /lifecycle/api/v2/distribution/export/{release_bundle_name}/{release_bundle_version}

Query Parameters (optional): repository_key, project. See Common Optional Query Parameters.

Sample Request:

{
    "modifications": {
        "mappings": [
            {
                "input": "(.*)/(.*)",
                "output": "$1/mapping/$2"
            }
        ]
    }
}

The request includes the following information:

Property

Description

mappings

Specifies the path mapping for the artifacts in the form of input and output regular expressions. These expressions define where the artifacts are located and where they should be exported.

input

The input regular expression that defines where the artifacts to export are located.

output

The output regular expression that defines the target artifact path with parameters from the input regex.

Status Codes:

Code

Description

202

Accepted

400

Bad Request

404

Not Found

409

Already Exists