Modify visualizations/ Payload
Closed this issue · 3 comments
brettpalmberg commented
Modification to GET /visualizations/:slug
:
Request to add the following keys to each mapping object in the value for key mappings:[...]
in the return payload.
- datasource_type (e.g. "cwms-timeseries")
- provider (e.g. "mvp")
I believe provider
and datasource_type
are required (in addition to key
already in payload) to uniquely identify a particular timeseries.
Modification to POST /visualizations/:slug/assign
:
Require provider
(e.g. "mvp") in payload in addition to variable
, key
, datasource_type
. I believe provider
is needed to ensure arriving at a single timeseries, as different providers could technically make use of identical timeseries keys.
brettpalmberg commented
Hey @adamscarberry, are you able to pick this one up?
adamscarberry commented
Yep, working on it now.
adamscarberry commented