Hi,
When using the DataAPI - CONFIG endpoint (to add units & precision): RN DataAPI 1.1.3 – New configuration endpoint for units and decimals
Do I also need to specify the "type" in the header request in order for the changes to get applied to the correct dynamic protocol? It doesn't seem to be indicated in the documentation yet.
Or will these configurations be common & shared across all generated scripted connectors per parameter name?
Just wondering if the case could happen that same parameter name is available in different generated connectors where precision or Units might need to differ.
Thanks!
(follow up question linked to my other question: scripted connectors: Data API usage from external systems)
Hi Thijs,
The 'type' header is a required one as the configurations are done on a per-type basis, i.e. each autogenerated connector will receive its configurations.
It works similarly to pushing data where the 'type' defines the parameters available and the values are then set on each element.
The config endpoint allows you to fine-tune the parameters.
I will try to update the docs to make it more clear