Revision Restore
revision_restoreRestore a report or datasource revision as the current draft while keeping full version history; publish separately after verification.
Instructions
Restore a revision of this report (or of a datasource attached to it) as the current draft, as Version history > Restore does; history keeps every revision. Reusable datasources need allow_shared_source. Journalled; verified by the new head revision. Publish separately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"revision_number": "<revision_number>"
},
"name": "revision_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | No | report | |
| dry_run | No | ||
| entity_id | No | ||
| report_id | No | ||
| revision_number | Yes | ||
| allow_shared_source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||