Get Last Release Bundle Version

JFrog REST APIs

ft:sourceType
Paligo

Description: Retrieves the latest version of a Release Bundle.

Note: Latest is a reserved word. Release Bundle versions cannot contain this word.

Since: 2.3.0

Security: Authenticated users only. Users must have read permissions for the Release Bundle.

Usage: /api/v1/release_bundle/:name/:LATEST

Request headers: N/A

Consumes: N/A

cURL

cURL Example

$ curl -u user:password "http://ARTIFACTORY_SERVER_HOSTNAME:8082/distribution/api/v1/release_bundle/:name/LATEST"

Response status codes:

200 - Success

403 - No permission for the Release Bundle

404 - Release Bundle or Release Bundle version not found

Response

format=json

{
  "name": "the_release_bundle",
  "version": "6",
  "storing_repository": "release-bundles",
  "description": "Maven bundle description",
  "created": "2020-05-03T12:33:40.759+0300",
  "created_by": "[username]",
  "distributed_by": "[username]",
 
 
  "artifacts": [
    {
      "checksum": "d4f8baa9d0b46aa1e5d9e60bfd7acc1265c51723844d81ad0b2dfc9f702e89f8",
      "props": [],
      "sourceRepoPath": "release-bundles/the_release_bundle/6/example-repo-local/folder1/public_key.txt",
      "targetRepoPath": "example-repo-local/folder1/public_key.txt"
    },
    {
      "checksum": "c7e875ebb4a69de287eb040375a88d254acf85c2b69dc9a59689d657e7f2d3cb",
      "props": [],
      "sourceRepoPath": "release-bundles/the_release_bundle/6/example-repo-local/audio-1.5.0.tar.gz",
      "targetRepoPath": "example-repo-local/audio-1.5.0.tar.gz"
    }
  ],
  "artifacts_size": 2892,
  "archived": false,
  "state": "SIGNED",
  "spec": {
    "queries": [
      {
        "aql": "items.find({ \"repo\" : \"example-repo-local\" })",
        "query_name": "query-0",
        "mappings": [],
        "added_props": [],
        "query_type": "AQL"
      }
    ],
       "exclude_props_patterns": [ 
         "example_exclude_prop_pattern_1",
         "example_example_prop_pattern_2"
         ]
  }
}