Skip to content

Commit 6085ffd

Browse files
committed
Modify connector-rest
1 parent b0bdbae commit 6085ffd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/data-factory/connector-rest.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -628,11 +628,11 @@ baseUrl/api/now/table/incident?sysparm_limit=1000&sysparm_offset=10000
628628
629629
**Step 1**: Input `sysparm_offset={offset}` either in **Base URL** or **Relative URL** as shown in the following screenshots:
630630
631-
:::image type="content" source="media/connector-rest/pagination-example-1-rest-linked-service-base-url.png" alt-text="Screenshot showing the configuration step 1 to send multiple requests whose variables are in QueryParameters":::
631+
:::image type="content" source="media/connector-rest/pagination-example-1-rest-linked-service-base-url.png" alt-text="Screenshot showing the configuration step 1 to send multiple requests whose variables are in QueryParameters.":::
632632
633633
or
634634
635-
:::image type="content" source="media/connector-rest/pagination-example-1-rest-linked-service-relative-url.png" alt-text="Screenshot showing the configuration step 2 to send multiple requests whose variables are in QueryParameters":::
635+
:::image type="content" source="media/connector-rest/pagination-example-1-rest-linked-service-relative-url.png" alt-text="Screenshot showing the configuration step 2 to send multiple requests whose variables are in QueryParameters.":::
636636
637637
**Step 2**: Set **Pagination rules** as either option 1 or option 2:
638638
@@ -676,7 +676,7 @@ Request 100: Header(id->100)<br/>
676676
677677
:::image type="content" source="media/connector-rest/pagination-example-3.png" alt-text="Screenshot showing the configuration steps to send multiple requests whose variables are in Headers.":::
678678
679-
#### Example 4:Variables are in AbsoluteUrl/QueryParameters/Headers, the end variable is not pre-defined and the end condition is based on the response.
679+
#### Example 4:Variables are in AbsoluteUrl/QueryParameters/Headers, the end variable is not pre-defined and the end condition is based on the response
680680
681681
This example provides configuration steps to send multiple requests whose variables are in AbsoluteUrl/QueryParameters/Headers but the end variable is not defined. For different responses, different end condition rule settings are shown in Example 4.1-4.6.
682682
@@ -712,7 +712,7 @@ Data: [
712712
}
713713
```
714714
715-
**Step 1**: Set the range of **Pagination rules** as Example 1 and leave the end of range empty as `"AbsoluteUrl.{offset}": "RANGE:0::1000"`
715+
**Step 1**: Set the range of **Pagination rules** as Example 1 and leave the end of range empty as `"AbsoluteUrl.{offset}": "RANGE:0::1000"`.
716716
717717
**Step 2**: Set different end condition rules according to different last responses. Six examples are shown below:
718718
@@ -737,7 +737,7 @@ Data: [
737737
{
738738
}
739739
```
740-
Set the end condition rule as `"EndCondition:$.data": "NonExist"`
740+
Set the end condition rule as `"EndCondition:$.data": "NonExist"`.
741741
742742
:::image type="content" source="media/connector-rest/pagination-example-4-2.png" alt-text="Screenshot showing the EndCondition setting for Example 4.2.":::
743743
@@ -754,11 +754,11 @@ Data: [
754754
Complete: true
755755
}
756756
```
757-
Set the end condition rule as `"EndCondition:$.Complete": "Exist"`
757+
Set the end condition rule as `"EndCondition:$.Complete": "Exist"`.
758758
759759
:::image type="content" source="media/connector-rest/pagination-example-4-3.png" alt-text="Screenshot showing the EndCondition setting for Example 4.3.":::
760760
761-
- **Example 4.4: The pagination will end when the value of the specific node in response is a user-defined const value.**
761+
- **Example 4.4: The pagination will end when the value of the specific node in response is a user-defined const value**
762762
763763
Last response:
764764
@@ -783,7 +783,7 @@ Data: [
783783
Complete: true
784784
}
785785
```
786-
Set the end condition rule as `"EndCondition:$.Complete": "Const:true"`
786+
Set the end condition rule as `"EndCondition:$.Complete": "Const:true"`.
787787
788788
:::image type="content" source="media/connector-rest/pagination-example-4-4.png" alt-text="Screenshot showing the EndCondition setting for Example 4.4.":::
789789
@@ -793,7 +793,7 @@ Data: [
793793
......<br/>
794794
Last Response header: header(Complete->1)<br/>
795795
796-
Set the end condition rule as `"EndCondition:headers.Complete": "Const:1"`
796+
Set the end condition rule as `"EndCondition:headers.Complete": "Const:1"`.
797797
798798
:::image type="content" source="media/connector-rest/pagination-example-4-5.png" alt-text="Screenshot showing the EndCondition setting for Example 4.5.":::
799799
@@ -803,7 +803,7 @@ Data: [
803803
......<br/>
804804
Last Response header: header(CompleteTime->20220920)<br/>
805805
806-
Set the end condition rule as `"EndCondition:headers.CompleteTime": "Exist"`
806+
Set the end condition rule as `"EndCondition:headers.CompleteTime": "Exist"`.
807807
808808
:::image type="content" source="media/connector-rest/pagination-example-4-6.png" alt-text="Screenshot showing the EndCondition setting for Example 4.6.":::
809809
@@ -857,7 +857,7 @@ The last response is:
857857
}
858858
```
859859

860-
**Step 1**: Set **Pagination rules** as `"AbsoluteUrl": "$.paging.next"`
860+
**Step 1**: Set **Pagination rules** as `"AbsoluteUrl": "$.paging.next"`.
861861

862862
**Step 2**: If `next` in the last response is always same with the last request URL and not empty, endless requests will be sent. The end condition can be used to avoid endless requests. Therefore, set the end condition rule refer to Example 4.1-4.6.
863863

0 commit comments

Comments
 (0)