Dynamic Release Bundle v1

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Creates, signs, and distributes an ad-hoc Release Bundle v1 to Distribution Edges.

Since: 2.8.1

Security: Authenticated users only. The user must have matching Release Bundle writer permissions.

Usage: POST api/v1/dynamic/distribute

Sample Usage:

{
    "storing_repository": "repo-name"
    "spec": {
        "queries": [
            {
                "aql": "items.find({\"$and\": [{\"$or\": [{\"repo\": {\"$eq\": \"example-repo-local\"}}]}]})",
                "query_name": "demo-aql"
            }
        ]
    },
 "distribution_rules": [
    {
      "site_name": "?wildcard*",
      "city_name": "?wildcard*",
      "country_codes": ["?wildcard*"]
    }
  ]
}

Sample Response:

{
  "id": 188527534551203840,
  "sites": [
    {
      "service_id": "jfrt@01cc8hkzy1zgtc1wqw3zk41p2a",
      "name": "US_NY_Art01",
      "type": "edge"
    },
    ...
  ]
}

Status Codes:

Code

Description

202

Accepted