{ "opencollection": "1.0.0", "info": { "name": "Neo4j Aura Authentication Transactions API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Transactions", "type": "folder" }, "items": [ { "info": { "name": "Open a new explicit transaction", "type": "http" }, "http": { "method": "POST", "url": "https://api.neo4j.io/v1/db/:databaseName/tx", "params": [ { "name": "databaseName", "value": "", "type": "path", "description": "The name of the database to execute queries against. Use neo4j for the default database." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Opens a new explicit transaction on the specified database. The response includes the transaction location URI which contains the transaction ID needed for subsequent operations. Optionally, Cypher statements can be included in the request body to be executed as part of the transaction opening. Transactions expire automatically after a period of inactivity with a default timeout of 30 seconds, configurable via server.http.transaction_idle_timeout." }, { "info": { "name": "Execute statements in an open transaction", "type": "http" }, "http": { "method": "POST", "url": "https://api.neo4j.io/v1/db/:databaseName/tx/:transactionId", "params": [ { "name": "databaseName", "value": "", "type": "path", "description": "The name of the database to execute queries against. Use neo4j for the default database." }, { "name": "transactionId", "value": "", "type": "path", "description": "The unique identifier of an open transaction, returned in the Location header when a transaction is opened." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Submits one or more Cypher statements to be executed within an existing open transaction. The transaction remains open after execution and must be explicitly committed or rolled back. Each request resets the transaction idle timeout." }, { "info": { "name": "Rollback a transaction", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.neo4j.io/v1/db/:databaseName/tx/:transactionId", "params": [ { "name": "databaseName", "value": "", "type": "path", "description": "The name of the database to execute queries against. Use neo4j for the default database." }, { "name": "transactionId", "value": "", "type": "path", "description": "The unique identifier of an open transaction, returned in the Location header when a transaction is opened." } ] }, "docs": "Rolls back an open transaction, restoring the database to the state it was in before the transaction was opened. All changes made within the transaction are discarded." }, { "info": { "name": "Commit a transaction", "type": "http" }, "http": { "method": "POST", "url": "https://api.neo4j.io/v1/db/:databaseName/tx/:transactionId/commit", "params": [ { "name": "databaseName", "value": "", "type": "path", "description": "The name of the database to execute queries against. Use neo4j for the default database." }, { "name": "transactionId", "value": "", "type": "path", "description": "The unique identifier of an open transaction, returned in the Location header when a transaction is opened." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Commits an open transaction, making all changes permanent in the database. Optionally, final Cypher statements can be included in the request body to be executed before the transaction is committed." } ] } ], "bundled": true }