PUT /updateRepositories/firmware/uxsps
Use this method to modify information about UpdateXpress System Packs (UXSPs) in the updates repository.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/updateRepositories/firmware/uxsps
Query parameters
Parameters | Required / Optional | Description |
---|---|---|
action=export | Required | Compresses the specified UXSPs (firmware updates and device driver files) from the repository into a ZIP file, and downloads the ZIP file to your local system. A job is created to complete this request. Use the GET /tasks/{job_list} method to retrieve the job status and file name. If a job was not successfully started, refer to the response code and response body for details. When the job is complete, use GET /updateRepositories/firmware?action=export to download the zip file to the local system. |
filetype={type} | Required | Types of files to export. This can be one of the following values.
|
PUT https://192.0.2.0/updateRepositories/firmware/uxsps?action=export&filetypes=payload
Parameters | Required / Optional | Description |
---|---|---|
action={action} | Required | Action to take. This can be one of the following values.
|
with={scope} | Optional | Scope of the action. This can be one of the following values.
|
PUT https://192.0.2.0/updateRepositories/firmware?action=refreshThenAcquire&with=latest
PUT https://192.0.2.0/updateRepositories/firmware/uxsps?action=read
PUT https://192.0.2.0/updateRepositories/firmware/uxsps?action=refresh&with=latest
PUT https://192.0.2.0/updateRepositories/firmware/uxsps?action=acquire
PUT https://192.0.2.0/updateRepositories/firmware/uxsps?action=acquire&with=payloads
Request body
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
fixids | Required if action is acquire | Array of strings | List of IDs, separated by a comma, for UXSPs and firmware-updates to be acquired. | ||
mt | Required if action is refresh, refreshThenAcquire, or acquire | Array of strings | List of machine types for which updates are to be refreshed or acquired. | ||
os | Required if action is refreshor refreshThenAcquire | String | Operating system to be refreshed Tip For UXSPs, this value must be empty (for example, | ||
type | Required if action is refreshor acquire | String | If action=refresh, this value must be catalog. If action=acquire, this value must be latest. |
{
"mt": ["7X07,7X08"],
"os": "",
}
{
"mt": ["7X07,7X08"]
"os": "",
"type": "catalog"
}
{
"fixids": [
"lnvgy_utl_uxsp_c6sp03p-1.40_platform_32-64",
"lnvgy_utl_uxsp_c5sp03p-1.40_platform_32-64"
],
"mt": "7X07,7X08",
"type": "latest"
}
{
"fixids": [
"brcd_fw_bcsw_nos5.0.1_anyos_noarch",
"brcd_fw_cna_3.2.4.0_linux_32-64",
"brcd_fw_cna_3.2.3.0_linux_32-64",
"lenovo_fw_dsa_dsyte2f-9.61_anyos_32-64"
],
"mt": ["7X07,7X08"],
"type": "latest"
}
{
"mt": ["7167", "7X05"]
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
409 | Conflict | There is a conflict with the current state of the resource. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None