Skip to main content

List available updates

GET 

/node/:hostname/package/update

List packages with available updates on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Responses

List of available updates.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    Hostname of the agent that reported this entry.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    updates

    object[]

    List of available updates.

  • Array [

  • name string

    Package name.

    current_version string

    Currently installed version.

    new_version string

    Available version.

  • ]

  • error string

    Error message if the agent failed.

  • ]

Loading...