GET /api/omaha_reports
List all omaha reports

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optionel

filtrer les résultats

Validations:

  • Must be a String

order
optionel

Champ et sens de tri, ex: 'id DESC'

Validations:

  • Must be a String

page
optionel

Numéro de la page, commençant par 1

Validations:

  • Must be a number.

per_page
optionel

Nombre de résultats par page à renvoyer

Validations:

  • Must be a number.


GET /api/omaha_reports/:id
Show a omaha report

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/omaha_reports
Create a omaha report

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

report
requis

Validations:

  • Must be a Hash

report[host]
requis

Nom d'hôte ou nom du certificat

Validations:

  • Must be a String

report[status]
requis

Omaha update status

Validations:

  • Must be one of: unknown, complete, downloading, downloaded, installed, instance_hold, error.

report[omaha_version]
requis

Omaha OS version using semantic versioning, e.g. 1590.0.0

Validations:

  • Must be a String

report[machineid]
requis

Unique machine id of the host

Validations:

  • Must be a String

report[omaha_group]
requis

The uuid if the channel that the host is attached to. Use alpha, beta or stable for built-in channels.

Validations:

  • Must be a String

report[oem]
optionel , nil autorisé

OEM identifier

Validations:

  • Must be a String


DELETE /api/omaha_reports/:id
Delete a omaha report

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String


GET /api/hosts/:host_id/omaha_reports/last
Afficher le dernier rapport d'un hôte

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
requis

ID de l'hôte

Validations:

  • Must be a String

id
requis

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.