This document provides an overview of the Rollback Transaction API.
Rollback transactions are used to undo changes to a database or system. They allow for data recovery and rollback in case of errors or partial changes.
The API returns a JSON object containing information about the rollback transaction, including the transaction ID, details of the changes made, and a reference to the transaction history.
Example request:
{
"transactionId": "1234567890",
"changes": [
{"field": "column_name", "value": "some_value"},
{"field": "another_column", "value": 123}
],
"history": [
{"timestamp": "2023-10-27T10:00:00Z", "event": "update_data"},
{"timestamp": "2023-10-27T10:00:05Z", "event": "save_data"}
]
}