From 78ddce2909b9f4a9ddaa4490494953fa773b7661 Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Fri, 5 Jan 2024 18:05:27 +0100 Subject: [PATCH] Clarify the presence of nextBatchId --- site/content/3.11/develop/http-api/queries/aql-queries.md | 6 +++--- site/content/3.12/develop/http-api/queries/aql-queries.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/site/content/3.11/develop/http-api/queries/aql-queries.md b/site/content/3.11/develop/http-api/queries/aql-queries.md index 378cba9652..6a5b44522b 100644 --- a/site/content/3.11/develop/http-api/queries/aql-queries.md +++ b/site/content/3.11/develop/http-api/queries/aql-queries.md @@ -178,9 +178,9 @@ Content-type: application/json } ``` -If the `allowRetry` query option is set to `true`, then the response object -contains a `nextBatchId` attribute, except for the last batch (if `hasMore` is -`false`). If retrieving a result batch fails because of a connection issue, you +The response object contains a `nextBatchId` attribute, except for the last batch +(when `hasMore` is `false`). If the `allowRetry` query option is set to `true` +and if retrieving a result batch fails because of a connection issue, you can ask for that batch again using the `POST /_api/cursor//` endpoint. The first batch has an ID of `1` and the value is incremented by 1 with every batch. Every result response except the last one also includes a diff --git a/site/content/3.12/develop/http-api/queries/aql-queries.md b/site/content/3.12/develop/http-api/queries/aql-queries.md index 0c69d128bc..f05b3745db 100644 --- a/site/content/3.12/develop/http-api/queries/aql-queries.md +++ b/site/content/3.12/develop/http-api/queries/aql-queries.md @@ -178,9 +178,9 @@ Content-type: application/json } ``` -If the `allowRetry` query option is set to `true`, then the response object -contains a `nextBatchId` attribute, except for the last batch (if `hasMore` is -`false`). If retrieving a result batch fails because of a connection issue, you +The response object contains a `nextBatchId` attribute, except for the last batch +(when `hasMore` is `false`). If the `allowRetry` query option is set to `true` +and if retrieving a result batch fails because of a connection issue, you can ask for that batch again using the `POST /_api/cursor//` endpoint. The first batch has an ID of `1` and the value is incremented by 1 with every batch. Every result response except the last one also includes a