GET /api/omaha_reports
List all omaha reports

參數

參數名字 描述
search
選填

篩選結果

Validations:

  • Must be a String

order
選填

排序結果

Validations:

  • Must be a String

page
選填

編頁結果

Validations:

  • Must be a String

per_page
選填

每個請求的項目數量

Validations:

  • Must be a String


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

參數

參數名字 描述
id
必填

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

參數

參數名字 描述
report
必填

Validations:

  • Must be a Hash

report[host]
必填

主機名稱或憑證名稱

Validations:

  • Must be a String

report[status]
必填

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

Validations:

  • Must be a String

report[omaha_version]
必填

Omaha OS version

Validations:

  • Must be a String


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

參數

參數名字 描述
id
必填

Validations:

  • Must be a String


GET /api/hosts/:host_id/omaha_reports/last
顯示主機的最後報告

參數

參數名字 描述
id
必填

Validations:

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