Stage changes to make the dataset's draft match a previous dataset version, including the episode versions it uses. This does not commit the draft. Use force=true to replace pending draft changes.
Security
ApiKey(Required scopes: datasets.update)
- Productionhttps://api.foxglove.dev/v1/datasets/{id}/versions/{versionNumber}/restore
// No request payloadCounts of the staged edits applied by the restore
Number of episode version changes staged to match the restored dataset version.
Number of previously pending episode version changes discarded during restore.
Number of previously-staged additions discarded before applying the restore.
Response
{ "updated": 0, "discardedUpdates": 0, "added": 0, "removed": 0, "discardedAdds": 0, "discardedRemoves": 0 }