GET /api/hosts/:host_id/packages
List packages installed on the host

Params

Param name Description
host_id
required

ID of the host

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


PUT /api/hosts/:host_id/packages/install
Install packages remotely

Params

Param name Description
host_id
required

ID of the host

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

packages
optional

List of package names

Validations:

  • Must be an array of any type

groups
optional

List of package group names

Validations:

  • Must be an array of any type


PUT /api/hosts/:host_id/packages/upgrade
Update packages remotely

Params

Param name Description
host_id
required

ID of the host

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

packages
required

list of packages names

Validations:

  • Must be an array of any type


PUT /api/hosts/:host_id/packages/upgrade_all
Update packages remotely

Params

Param name Description
host_id
required

ID of the host

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


PUT /api/hosts/:host_id/packages/remove
Uninstall packages remotely

Params

Param name Description
host_id
required

ID of the host

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

packages
optional

List of package names

Validations:

  • Must be an array of any type

groups
optional

List of package group names

Validations:

  • Must be an array of any type