Description: Update the indexed and not indexed repositories in a given binary manager
Security: Requires an admin user
Usage: PUT /xray/api/v1/binMgr/{id}/release_bundle_v2
Consumes: application/json
Produces: application/json
Path parameters:
Name | Type | Required/Optional | Description |
|---|---|---|---|
| string | Required | Specifies the Binary Manager ID. Set it to default |
Query parameters:
Name | Type | Required/Optional | Description |
|---|---|---|---|
| string | Optional | When included the REST API response as if executed from the scope of a project |
Request body:
Name | Type | Required/Optional | Description |
|---|---|---|---|
| string | Optional | The list of the indexed release bundles v2 |
| string | Optional | The list of the not indexed release bundles v2 |
Response body:
Name | Type | Description |
|---|---|---|
| string | The response message |
Response codes:
Status Code | Description |
|---|---|
200 | OK |
401 | Bad Credentials |
500 | Failed to obtain a response |
Example request:
{
"indexed_release_bundle_v2": [
"example-2",
"example-3"
],
"non_indexed_release_bundle_v2": [
"example",
"example-1"
]
}
Example of successful response:
200 OK
{
"info": "release_bundle_v2 list has been successfully updated"
}