Get Builds Indexing Configuration

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets the indexed and not indexed builds in a given binary manager.

Security: Requires an admin user

Notes: For Xray version 3.21.2 and above with Projects, a Project Admin with Index Resources privilege can get the indexed and not indexed builds in a given binary manger using this REST API in the scope of a project, by using the additional query parameter projectKey.

Usage: GET /api/v1/binMgr/{id}/builds

Consumes: application/json

Response codes:

200: List of Artifactory builds

401: Bad Credentials

500: Failed to obtain response

Sample usage:

{
    "bin_mgr_id": "default",
    "indexed_builds": [
        "build1",
        "build2"
    ],
    "non_indexed_builds": [
        "build3",
        "build4"
    ]
}