Skip to content

Commit 8ddf6d1

Browse files
Merge pull request #267219 from Clare-Zheng82/0226-Update_Rest_pagination
[Supportability] Add array of object as JSON response body is not supported in pagination in Rest doc
2 parents 6071328 + 3a42a6f commit 8ddf6d1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/data-factory/connector-rest.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: data-factory
77
ms.subservice: data-movement
88
ms.custom: synapse
99
ms.topic: conceptual
10-
ms.date: 08/10/2023
10+
ms.date: 02/26/2024
1111
ms.author: makromer
1212
---
1313

@@ -352,7 +352,8 @@ The following properties are supported in the copy activity **source** section:
352352
| requestInterval | The time to wait before sending the request for next page. The default value is **00:00:01** | No |
353353

354354
>[!NOTE]
355-
>REST connector ignores any "Accept" header specified in `additionalHeaders`. As REST connector only support response in JSON, it will auto generate a header of `Accept: application/json`.
355+
>REST connector ignores any "Accept" header specified in `additionalHeaders`. As REST connector only support response in JSON, it will auto generate a header of `Accept: application/json`. <br>
356+
>The array of object as the response body is not supported in pagination.
356357
357358
**Example 1: Using the Get method with pagination**
358359

@@ -568,7 +569,7 @@ This generic REST connector supports the following pagination patterns:
568569
| Value | Description |
569570
|:--- |:--- |
570571
| Headers.*response_header* OR Headers['response_header'] | "response_header" is user-defined, which references one header name in the current HTTP response, the value of which will be used to issue next request. |
571-
| A JSONPath expression starting with "$" (representing the root of the response body) | The response body should contain only one JSON object. The JSONPath expression should return a single primitive value, which will be used to issue next request. |
572+
| A JSONPath expression starting with "$" (representing the root of the response body) | The response body should contain only one JSON object and the array of object as the response body is not supported. The JSONPath expression should return a single primitive value, which will be used to issue next request. |
572573

573574
>[!NOTE]
574575
> The pagination rules in mapping data flows is different from it in copy activity in the following aspects:

0 commit comments

Comments
 (0)