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