数据历史
GET /api/v1/cases/{case}/fields/{field}/history
scope:history:read 2 个额度
某项数据在各报告中的所有值,包括破产管理人的确认和更正。
路径参数
| 名称 | 类型 | 说明 |
|---|---|---|
case 必填 案卷 id(ULID)或案卷的 slug | string | 案卷 id(ULID)或案卷的 slug |
field 必填 数据名称,例如 estate_assets | string | 数据名称,例如 estate_assets |
响应,HTTP 200
Public data
响应,HTTP 200
| 名称 | 类型 | 说明 |
|---|---|---|
data 必填 | object[] | |
data[].id 必填 | string | |
data[].value 必填 | number | null | |
data[].state 必填 | enum | known, not_mentioned, not_known, not_reported |
data[].qualifier 必填 | string | null | |
data[].as_of 必填 | string | |
data[].report_number 必填 | integer | null | |
data[].report_date 必填 | string | null | |
data[].current 必填 | boolean | |
data[].sources 必填 | object | null[] | |
data[].sources[].document 必填 | object | null | |
data[].sources[].document.id 必填 | string | |
data[].sources[].document.title 必填 | string | null | |
data[].sources[].document.report_number 必填 | integer | null | |
data[].sources[].document.report_date 必填 | string | null | |
data[].sources[].document.published_on 必填 | string | null | |
data[].sources[].document.page_count 必填 | integer | null | |
data[].sources[].document.url 必填 | string | null | |
data[].sources[].document.sha256 必填 | string | null | |
data[].sources[].page 必填 | integer | null | |
data[].sources[].section 必填 | string | null | |
data[].sources[].excerpt 必填 | string | null | |
meta 必填 | object | |
meta.field 必填 | string | |
meta.kind 必填 | string | |
meta.total 必填 | integer |
响应,HTTP 404
Not found
响应,HTTP 404
| 名称 | 类型 | 说明 |
|---|---|---|
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。每个值及其来源的构成方式请参阅 数据与来源文件