Add Builds to Indexing Configuration

Xray REST APIs

ft:sourceType
Paligo

Description: Adds new builds to the list of builds selected for indexing by only providing the new build names.

Since: 3.8.2

Security: Requires a user with admin permissions

Notes: For Xray version 3.21.2 and above with Projects, a Project Admin with Index Resources privilege can add new builds to the list of builds selected for indexing using this REST API in the scope of a project, by using the additional query parameter projectKey.

Usage: POST api/v1/binMgr/builds

Consumes: application/json

Produces: application/json

Sample Usage:

POST api/v1/binMgr/builds

Sample Request:

{
  "names": ["build1","build2","build1","build4","build4"]
}

Response Codes:Sample Request:

401 - Unauthorized

403 - Forbidden

400 - Failed to set build names to index : Got invalid request

500 - Failed to set build names to index