Update Builds Indexing Configuration

Xray REST APIs

ft:sourceType
Paligo

Description: Updates 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 update 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: PUT /api/v1/binMgr/{id}/builds

Consumes: application/json

Response codes:

200: Success

Sample usage:

{
    "indexed_builds": [
        "build1",
        "build2"
    ]
}

Response:

{
  "info": "Repositories list has been successfully sent to Artifactory"
}