本文へ移動

API ドキュメント

v1.0.0

ニュース

GET /api/v1/news

スコープ:news:read 1 クレジット

案件に関連付けられたニュース記事:タイトル、発行元、日付、リンク、関連付けのレベル。記事本文は含みません。

クエリパラメーター

クエリパラメーター
名前型説明
case

案件 ID(ULID)または案件のスラッグ

string | null案件 ID(ULID)または案件のスラッグ
since

この日付より前の最新の報告書と比較

string | nullこの日付より前の最新の報告書と比較
page

ページ番号

integer | nullページ番号

応答、HTTP 200

応答、HTTP 200

応答、HTTP 200
名前型説明
data 必須 object[]
data[].case 必須 object
data[].case.id 必須 string
data[].case.name 必須 string
data[].case.links 必須 object
data[].case.links.self 必須 string
meta 必須 object
meta.total 必須 integer
meta.page 必須 integer
meta.per_page 必須 integer
meta.last_page 必須 integer

応答、HTTP 422

Validation error

応答、HTTP 422

応答、HTTP 422
名前型説明
error 必須 object
error.code 必須

Stable error code, for example not_found or validation_failed

stringStable error code, for example not_found or validation_failed
error.message 必須

Human-readable explanation

stringHuman-readable explanation
error.details

Extra information, such as the fields that failed validation

objectExtra information, such as the fields that failed validation

応答のフィールドは openapi.json に記載されています。各値が出典とともにどのように構成されているかは、次をご覧ください: データと出典文書