Skip to content

Commit e25878f

Browse files
authored
Merge pull request #58145 from cgillum/patch-1
Fix formatting of Request with paging
2 parents ddd466a + 50d75b8 commit e25878f

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

articles/azure-functions/durable-functions-http-api.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords:
88
ms.service: azure-functions
99
ms.devlang: multiple
1010
ms.topic: conceptual
11-
ms.date: 09/06/2018
11+
ms.date: 11/15/2018
1212
ms.author: azfuncdf
1313
---
1414

@@ -231,25 +231,6 @@ The Functions 2.0 format has all the same parameters but a slightly different UR
231231
GET /runtime/webhooks/durableTask/instances/?taskHub={taskHub}&connection={connection}&code={systemKey}&createdTimeFrom={createdTimeFrom}&createdTimeTo={createdTimeTo}&runtimeStatus={runtimeStatus,runtimeStatus,...}
232232
```
233233

234-
#### Request with paging
235-
236-
You can set the `top` parameter to split the results of the query into pages.
237-
238-
For Functions 1.0, the request format is as follows:
239-
240-
```http
241-
GET /admin/extensions/DurableTaskExtension/instances/?taskHub={taskHub}&connection={connection}&code={systemKey}&top={top}
242-
```
243-
244-
The Functions 2.0 format has all the same parameters but a slightly different URL prefix:
245-
246-
```http
247-
GET /runtime/webhooks/durableTask/instances/?taskHub={taskHub}&connection={connection}&code={systemKey}&top={top}
248-
249-
If the next page exists, a continuation token is returned in the response header. The name of the header is `x-ms-continuation-token`.
250-
251-
If you set continuation token value in the next request header, you can get the next page. This key in request header is `x-ms-continuation-token`.
252-
253234
#### Response
254235

255236
Here is an example of response payloads including the orchestration status (formatted for readability):
@@ -307,6 +288,26 @@ Here is an example of response payloads including the orchestration status (form
307288
> This operation can be very expensive in terms of Azure Storage I/O if there are a lot of rows in the Instances table. More details on Instance table can be found in the [Performance and scale in Durable Functions (Azure Functions)](https://docs.microsoft.com/azure/azure-functions/durable-functions-perf-and-scale#instances-table) documentation.
308289
>
309290
291+
#### Request with paging
292+
293+
You can set the `top` parameter to split the results of the query into pages.
294+
295+
For Functions 1.0, the request format is as follows:
296+
297+
```http
298+
GET /admin/extensions/DurableTaskExtension/instances/?taskHub={taskHub}&connection={connection}&code={systemKey}&top={top}
299+
```
300+
301+
The Functions 2.0 format has all the same parameters but a slightly different URL prefix:
302+
303+
```http
304+
GET /runtime/webhooks/durableTask/instances/?taskHub={taskHub}&connection={connection}&code={systemKey}&top={top}
305+
```
306+
307+
If the next page exists, a continuation token is returned in the response header. The name of the header is `x-ms-continuation-token`.
308+
309+
If you set continuation token value in the next request header, you can get the next page. This key in request header is `x-ms-continuation-token`.
310+
310311

311312
### Raise event
312313

0 commit comments

Comments
 (0)