Write docs with Legacy QL
Perform one or more write operations (updates, upserts, or removals) in a single atomic transaction. This endpoint ensures all operations either succeed or fail together, maintaining data consistency.
This is a legacy endpoint that uses the Legacy Query Language.
To use DQL, the current Ditto query language, consider using the execute endpoint.
Authorizations
Authentication using either an API key or JWT token in the Authorization header
Headers
Optional transaction ID that ensures write consistency. The operation will only proceed if the Big Peer's transaction ID is at least this value, preventing concurrent modification issues.
Body
Request to execute one or more write commands in a transaction
Array of write commands to execute in the transaction
A write operation to perform in a transaction. Can be an update, upsert, or remove command.
Response
Response containing results of executing a write transaction
Array of results for each write command executed in the transaction
Result of executing a write command. Contains the specific result type based on the command method.
Was this page helpful?