Step 4: Verify the Release Bundle

DISTRIBUTION: How to create a Release Bundle with selected files using the REST API command

AuthorFullName__c
Ino Choi
articleNumber
000005786
ft:sourceType
Salesforce
FirstPublishedDate
2023-06-15T07:07:41Z
lastModifiedDate
2023-06-14
VersionNumber
1
Upon successfully creating the release bundle, you can verify its existence in JFrog Distribution UI or by making a GET request to the /api/v1/release_bundle/{name}/{version} endpoint, replacing {name} and {version} with the actual values of your release bundle.

User-added image
$ curl -u <USER> http://<ARTIFACTORY_URL>/distribution/api/v1/release_bundle/my-release-bundle/1.0

{
  "name": "my-release-bundle",
  "version": "1.0",
  "storing_repository": "release-bundles",
  "release_notes": {
    "content": "Version 1.0 to create the bundle using the API command",
    "syntax": "plain_text"
  },
  "created": "2023-06-12T18:35:22.559+0000",
  "created_by": "admin",
  "artifacts": [
    {
      "checksum": "900cb144c8b6992267af8b133d22af3e060b12cd3051473d5aa20f93dc0de2a2",
      "props": [{ "key": "version", "values": ["1.0"] }],
      "sourceRepoPath": "release-bundles/my-release-bundle/1.0/example-repo-local/artifactory-access-config.yaml",
      "targetRepoPath": "example-repo-local/artifactory-access-config.yaml"
    }
  ],
  "artifacts_size": 492,
  "archived": false,
  "state": "READY_FOR_DISTRIBUTION",
  "xray_triggering_status": "NOT_TRIGGERED",
  "spec": {
    "queries": [
      {
        "aql": "items.find({ \"repo\" : \"example-repo-local\"}, {\"@version\": \"1.0\"})",
        "query_name": "query-1",
        "mappings": [{ "input": "regex", "output": "$1/$2" }],
        "added_props": [],
        "exclude_props_patterns": [],
        "query_type": "AQL"
      }
    ]
  }
}