GET /api/omaha_reports
List all omaha reports

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Orden y campo de clasificación, p. ej., 'id DESC'

Validations:

  • Must be a String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.


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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

report
requerido

Validations:

  • Must be a Hash

report[host]
requerido

Nombre de host o nombre de certificado

Validations:

  • Must be a String

report[status]
requerido

Omaha update status

Validations:

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

report[omaha_version]
requerido

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

Validations:

  • Must be a String

report[machineid]
requerido

Unique machine id of the host

Validations:

  • Must be a String

report[omaha_group]
requerido

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]
opcional , nil permitido

OEM identifier

Validations:

  • Must be a String


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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String


GET /api/hosts/:host_id/omaha_reports/last
Mostrar ultimo reporte de un host

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
requerido

ID del host

Validations:

  • Must be a String

id
requerido

Validations:

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