You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/getting-started/documentation/httpdata-pull-parameterized.md
+11-10
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,21 @@
2
2
3
3
### Overview
4
4
5
-
In certain scenarios, it is beneficial to be able to provide multiple datasets and data-source APIs through a single asset.
6
-
This approach enhances the scalability of the Connector by minimizing the number of contract negotiations and reducing the catalog size.
5
+
In certain scenarios, it is beneficial to expose multiple datasets via a single asset, reducing contract negotiations and catalog size, thus improving Connector scalability.
7
6
8
7
### Providing Data
9
8
10
-
In this example, multiple datasets of the same API are identified using a unique path parameter but having the same base-url:
9
+
A datasource API can be structured with a base URL and path parameters to differentiate datasets:
11
10
-`https://example.com/dataset/1`
12
11
-`https://example.com/dataset/2`
13
12
-`https://example.com/dataset/3`
14
13
-`https://example.com/dataset/4`
15
14
16
-
This implies that the `baseUrl` of all datasets is`https://example.com/dataset/`.
15
+
In this case, the base URL remains:`https://example.com/dataset/`.
17
16
18
17
#### Defining the Asset in the EDC
19
18
20
-
To enable this example by using a single asset, use the following way to create an asset in the EDC:
19
+
To register a **single asset** in the EDC that references multiple datasets, use the following API request:
21
20
22
21
`POST {{MANAGEMENT-API}}/v3/assets`
23
22
@@ -48,16 +47,18 @@ To enable this example by using a single asset, use the following way to create
48
47
{% endcode %}
49
48
50
49
Ensure that `proxyPath` and `proxyQueryParams` are correctly set and enabled `true`.
To access the dataset, query the provider's EDC catalog and identify the required asset. Extract the following details:
57
58
-`dcat:dataset.{asset}.odrl:hasPolicy.@id` - The data offer ID, later to be used for `{{data-offer-id}}`
58
59
-`dcat:dataset.{asset}.odrl:hasPolicy.odrl:permission` - The policies in this case permissions, needed to start the negotiation, later used for `{{permissions}}`
59
60
60
-
#### Negotiating the EDR Token
61
+
#### Step 2: Negotiating the EDR Token
61
62
62
63
Next, request the `EDR token` to access the data plane:
63
64
@@ -92,7 +93,7 @@ Extract the `@id` from the response, later to be used for `{{edr-id}}`.
92
93
This ID represents the EDR token and is required for the next steps.
93
94
Successfully reaching this stage confirms a successful negotiation.
94
95
95
-
#### Creating the Transfer Process
96
+
#### Step 3: Creating the Transfer Process
96
97
97
98
Use the EDR token ID to retrieve the `transferProcessId`:
98
99
@@ -120,7 +121,7 @@ Use the EDR token ID to retrieve the `transferProcessId`:
120
121
121
122
Copy the `transferProcessId` from the response to proceed, later to be used for `{{transferProcessId}}`.
122
123
123
-
#### Retrieving the Data Address
124
+
#### Step 4: Retrieving the Data Address
124
125
125
126
To obtain the data address from which the dataset can be requested:
126
127
@@ -130,7 +131,7 @@ The response contains two crucial data points:
130
131
-`endpoint` – The URL of the data plane providing the requested asset, later to be used for `{{endpoint}}`.
131
132
-`authorization` – The authorization information required for data retrieval, e.g. a token.
132
133
133
-
#### Requesting the Data
134
+
#### Step 5: Requesting the Data
134
135
135
136
Finally, execute a `GET` request using the endpoint and authorization information.
0 commit comments