GET /api/omaha_reports
List all omaha reports

Params

Param Name Description
search
Optional

filtrer les résultats

Validations:

  • Must be String

order
Optional

trier les resultats

Validations:

  • Must be String

page
Optional

paginer les résultats

Validations:

  • Must be String

per_page
Optional

nombre d'entier par requête

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

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

Params

Param Name Description
report
Required

Validations:

  • Must be a Hash

report[host]
Required

Nom d'hôte ou nom du certificat

Validations:

  • Must be String

report[status]
Required

Omaha status, can be one of unknown, complete, downloading, downloaded, installed, instance_hold, and error

Validations:

  • Must be String

report[omaha_version]
Required

Omaha OS version

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

Validations:

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