Skip to content

Commit 8c2cd20

Browse files
endpoints
1 parent 685b2ec commit 8c2cd20

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

modules/ROOT/pages/endpoints.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ This page contains a list of the endpoints that the Query API provides, plus poi
1616
|To submit queries. +
1717
For more information, see xref:query.adoc[].
1818

19+
|/db/<databaseName>/query/v2/tx
20+
|To open an explicit transaction. +
21+
For more information, see xref:transactions.adoc[].
22+
23+
|/db/<databaseName>/query/v2/tx/<transactionID>
24+
|To submit queries to an open transaction with ID `<transactionID>`. +
25+
A `DELETE` request results in a rollback. +
26+
For more information, see xref:transactions.adoc#_execute_queries[Run transactions -> Execute queries].
27+
28+
|/db/<databaseName>/tx/query/v2/<transactionID>/commit
29+
|To commit an open transaction with ID `<transactionID>`. +
30+
For more information, see xref:transactions.adoc#_commit_a_transaction[Run transactions -> Commit a transaction].
31+
1932
|===
2033

2134

modules/ROOT/pages/query.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ http://<host>:<port>/db/<databaseName>/query/v2
1212
1313
The server wraps the submitted Cypher query in a (implicit) <<transaction>> for you.
1414
This means that in case any part of the query fails, the database will be reverted back to its status before any part of the query was executed.
15-
16-
To control the lifecycle of transactions, see xref:transactions.adoc[].
15+
To run an explicit transaction, see xref:transactions.adoc[].
1716

1817
[TIP]
1918
Each request must include an `Authorization` header, see xref:authentication-authorization.adoc[] for more information.

0 commit comments

Comments
 (0)