Skip to main content

List installed packages

GET 

/node/:hostname/package

List all installed packages 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 installed packages.

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.

    packages

    object[]

    List of packages.

  • Array [

  • name string

    Package name.

    version string

    Installed version.

    description string

    Package description.

    status string

    Package status (e.g., installed).

    size int64

    Installed size in bytes.

  • ]

  • error string

    Error message if the agent failed.

  • ]

Loading...