GET /api/omaha_reports
List all omaha reports

Params

Param Name Description
search
Optional

filtrera resultat

Validations:

  • Must be a String

order
Optional

sortera resultat

Validations:

  • Must be a String

page
Optional

paginate results

Validations:

  • Must be a String

per_page
Optional

antal poster per begäran

Validations:

  • Must be a 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

Hostname or certname

Validations:

  • Must be a String

report[status]
Required

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

Validations:

  • Must be a String

report[omaha_version]
Required

Omaha OS version

Validations:

  • Must be a String


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

Params

Param Name Description
id
Required

Validations:

  • Must be a String


GET /api/hosts/:host_id/omaha_reports/last
Visa senaste rapporten för en värd

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.