workspace

peek at the next undo

Changed on

Get the change that the next undo would take back, so that the editor can ask before an undo that makes something disappear. Returns nothing when there is no history left.

get/api/workspaces/{workspaceName}/undo/preview

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

workspaceName, string required

The literal name of the dataset.

Headers

Origin, string

The name/url of the inquirer.

Response

OK

ChangeLogEntryDTO required
affectedKinds, string[]
affectedSchemaNames, string[]
changeId, string
contextDeltas, ContextDeltaDTO[]
message, string
removedOnUndo, string[]
restorableSchemaNames, string[]
restoreTargetSchemaNames, string[]
timestamp, string
undone, boolean

Changes