Scans List - Get Release Bundle V2 Versions

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description:  Get a list of release bundle V2 versions scanned by Xray

Since: 3.82.x

Security: Requires a valid user with "Read" permissions.

Usage: GET api/v1/release_bundle_v2_versions

Query Parameters:

Parameter

Type

Mandatory/Optional

Description

order_by

string

Optional

By which column to order the results. Allowed values:

  • created_on - This is the default

  • version

  • size

direction

string

Optional

The direction by which to order the results (either ascending or descending):

  • asc

  • desc

num_of_rows

int

Optional

The number of entries to return.

offset

string

Optional

A value returned by the API. It needs to be passed to the API to get to the next page. A value of -1 means that the last page was reached.

created_on_start

string

Optional

Return only records created after the specified time (in RFC 3339 format).

created_on_end

string

Optional

Return only records created before the specified time (in RFC 3339 format).

package

string

Mandatory

The component identifier of release bundle v2 is releaseBundleV2://[RepoName]/BundleName:BundleVersion Example: releaseBundleV2://[release-bundles-v2]/MyRB:2.3

Response Codes:

Status Code

Description

200

OK

400

Bad request

500

Internal server error

Successful Response:

{
    "data": [
        {
            "version": "2.0",
            "size": "0.00 B",
            "violations": 0,
            "created_on": "1649235896791",
            "sec_issues": {
                "total": 0
            },
            "sha256": "d59422279fa5c4e1cb398e51066adf5fdc45cd1cea5f2634b444757c3d49f6fe",
            "package_id": "releaseBundleV2://releaseBundleRepo/myRB"
        }
    ],
    "offset": -1
}