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
|`path`|| Path used to resolve context (`visibility`, `service`, and FDA id). Supported formats include `/public/<service>/...` and `home/<service>/verticals/public/<fda>.cda`. If no explicit FDA id is present, it defaults to `dataAccessId`. |`/public/service/verticals/sql/fda1`|
1769
+
|`dataAccessId`|| Identifier of the Data Access (DA) inside the FDA |`da1`|
1770
+
|`outputType`| ✓ | Format of the returned results. **Default:**`json`. Allowed values: `json`, `csv`, `xls`. |`csv`|
1771
+
|`param*`| ✓ | Query parameters prefixed with `param`. If omitted, no DA query parameters are passed. |`parammunicipality=NA`|
1772
+
|`pageSize`| ✓ | Pagination size (must be handled explicitly by the DA). If omitted, this field is not passed and DA defaults apply. |`10`|
1773
+
|`pageStart`| ✓ | Pagination offset (must be handled explicitly by the DA). If omitted, this field is not passed and DA defaults apply. |`0`|
1752
1774
1753
1775
---
1754
1776
1755
-
_**Request body (form-urlencoded)**_
1777
+
_**Path-to-scope convention (legacy CDA)**_
1756
1778
1757
-
The request body must be sent as `application/x-www-form-urlencoded`.
1779
+
In this compatibility endpoint, `visibility` and `servicePath` are resolved from `path` to preserve Pentaho legacy
|`path`|| Path used to resolve service. FDA identifier defaults to `dataAccessId` if path only has visibility and service. |`/public/service/verticals/sql/fda1`|
1762
-
|`dataAccessId`|| Identifier of the Data Access (DA) inside the FDA |`da1`|
1763
-
|`outputType`| ✓ | Format of the returned results. **Default:**`json`. Allowed values: `json`, `csv`, `xls`. |`csv`|
1764
-
|`param*`| ✓ | Query parameters prefixed with `param`. If omitted, no DA query parameters are passed. |`parammunicipality=NA`|
1765
-
|`pageSize`| ✓ | Pagination size (must be handled explicitly by the DA). If omitted, this field is not passed and DA defaults apply. |`10`|
1766
-
|`pageStart`| ✓ | Pagination offset (must be handled explicitly by the DA). If omitted, this field is not passed and DA defaults apply. |`0`|
1782
+
-`visibility`: extracted from `path` (`public` or `private`)
1783
+
-`servicePath`: normalized as `/${visibility}`
1784
+
1785
+
This convention is intentional and backward compatible with legacy clients that did not manage `Fiware-ServicePath`.
1767
1786
1768
1787
---
1769
1788
@@ -1813,6 +1832,19 @@ curl -i -X POST "http://localhost:8085/plugin/cda/api/doQuery" \
curl -i -X GET "http://localhost:8085/plugin/cda/api/doQuery?path=/public/trantor/verticals/sql/fda1&dataAccessId=da1¶mminAge=25&pageSize=10&pageStart=0"
0 commit comments