ReportVersionCollection.get¶
Fetch one snapshot, including payload.
Server: GET /api/reports/{id}/versions/{version_id}.
Signature¶
get(version_id: str) -> ReportVersion
Parameters¶
| Name | Type | Required | Default |
|---|---|---|---|
version_id |
str |
yes | - |
HTTP parameters¶
| Name | In | Type | Required | Default |
|---|---|---|---|---|
report_id |
path |
string |
yes | - |
version_id |
path |
string |
yes | - |
Fields¶
| Field |
|---|
version_id |
Return shape¶
HTTP 200 — OK
Schema: ReportVersionOut
| Field | Type | Required |
|---|---|---|
content_hash |
string |
yes |
created_at |
string |
yes |
created_by_id |
string |
no |
id |
string |
yes |
message |
string |
yes |
payload |
object |
no |
report_id |
string |
yes |
restored_from_id |
string |
no |
version |
integer |
yes |
Permission¶
Required permission: report:read
HTTP¶
GET /api/reports/{report_id}/versions/{version_id} (getReportVersion)
Usage¶
report_version_collection.get(version_id)