Rollback Transaction API Reference

Introduction

This document provides an overview of the Rollback Transaction API.

Key Concepts

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.

API Endpoints

Data Structure

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

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"}
                ]
            }
            

Link

Full API Reference