新闻
GET /api/v1/news
scope:news:read 1 个额度
与案卷关联的新闻文章:标题、发布方、日期、链接和匹配级别。不含文章正文。
查询参数
| 名称 | 类型 | 说明 |
|---|---|---|
case 案卷 id(ULID)或案卷的 slug | string | null | 案卷 id(ULID)或案卷的 slug |
since 与此日期之前的最新报告进行对比 | string | null | 与此日期之前的最新报告进行对比 |
page 页码 | integer | null | 页码 |
响应,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
| 名称 | 类型 | 说明 |
|---|---|---|
error 必填 | object | |
error.code 必填 Stable error code, for example not_found or validation_failed | string | Stable error code, for example not_found or validation_failed |
error.message 必填 Human-readable explanation | string | Human-readable explanation |
error.details Extra information, such as the fields that failed validation | object | Extra information, such as the fields that failed validation |
响应字段见 openapi.json。每个值及其来源的构成方式请参阅 数据与来源文件