Get Updates

Get Updates

Get all available updates in the repository.

Request
URI
POST
https://{api_host}/appliance/update-manager/actions/retrieve-updates
COPY
Authentication
This operation uses the following authentication methods.
Responses
202

A task to track the progress of the operation. List of the available updates will be returned in the result field of the task, once completed.

Returns Task of type(s) application/json
{
    "id": "string",
    "description": "string",
    "type": "string",
    "status": "string",
    "error": {
        "cause": {
            "stack_trace": [
                {
                    "class_loader_name": "string",
                    "module_name": "string",
                    "module_version": "string",
                    "method_name": "string",
                    "file_name": "string",
                    "line_number": 0,
                    "class_name": "string",
                    "native_method": false
                }
            ],
            "message": "string",
            "localized_message": "string"
        },
        "stack_trace": [
            {
                "class_loader_name": "string",
                "module_name": "string",
                "module_version": "string",
                "method_name": "string",
                "file_name": "string",
                "line_number": 0,
                "class_name": "string",
                "native_method": false
            }
        ],
        "message": "string",
        "suppressed": [
            {
                "stack_trace": [
                    {
                        "class_loader_name": "string",
                        "module_name": "string",
                        "module_version": "string",
                        "method_name": "string",
                        "file_name": "string",
                        "line_number": 0,
                        "class_name": "string",
                        "native_method": false
                    }
                ],
                "message": "string",
                "localized_message": "string"
            }
        ],
        "localized_message": "string"
    },
    "result": {},
    "progress": 0,
    "start_time": "string",
    "complete_time": "string"
}
string
id
Optional

id

string
description
Optional

description

string
type
Optional

Operation type

string
status
Required

Current status of the task

Possible values are : QUEUED, RUNNING, SUCCESS, ERROR, CANCELLED,
object
error
Optional

Detailed information about the error if the task status is ERROR

object
result
Optional

Result of the operation

integer As int32 As int32
progress
Optional

Current progress of the operation

string As date-time As date-time
start_time
Optional

start_time

string As date-time As date-time
complete_time
Optional

complete_time


400

Bad request - the server cannot understand the request due to invalid syntax or invalid request body content

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


401

Unauthorized - the client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/appliance/update-manager/actions/retrieve-updates