GET /api/reports
レポート一覧

Params

Param Name Description
search
Optional

結果をフィルタ


Value: Must be String
order
Optional

結果をソート


Value: Must be String
page
Optional

結果をページ分割


Value: Must be String
per_page
Optional

リクエストあたりのエントリ数


Value: Must be String

GET /api/reports/:id
レポートの表示

Params

Param Name Description
id
Required

Value: 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/reports
レポートの作成

Params

Param Name Description
report
Required

Value: Must be a Hash
report[host]
Required

ホスト名、または証明書名


Value: Must be String
report[reported_at]
Required

レポートのUTC時刻


Value: Must be String
report[status]
Required

ステータスタイプの合計のハッシュ


Value: Must be Hash
report[metrics]
Required

Hash of report metrics, can be just {}


Value: Must be Hash
report[logs]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

ログハッシュのオプションの配列


Value: Must be an array of any type

DELETE /api/reports/:id
レポートの削除

Params

Param Name Description
id
Required

Value: Must be String

GET /api/hosts/:host_id/reports/last
ホストの最終レポートを表示

Params

Param Name Description
id
Required

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