Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Resolve internal id from timeseriesUrl in http attribute #18

Open
ChrisMalewski opened this issue Jan 24, 2017 · 0 comments
Open

Resolve internal id from timeseriesUrl in http attribute #18

ChrisMalewski opened this issue Jan 24, 2017 · 0 comments

Comments

@ChrisMalewski
Copy link

A timeseries of the series API can be uniquely identified through its direct REST endpoint.
E.g. http://www.fluggs.de/sos2/api/v1/timeseries/2/
We should add a function that creates an internal id from this link.
Then we can directly point to a timeseries graph by using that link (we do not know the internal id):

http://fluggs.wupperverband.de/swc/#/diagram?timespan=2017-01-23T23%3A59%3A59%2B01%3A00%2F2017-01-24T23%3A59%3A59%2B01%3A00&ts=**fluggs__2**

http://fluggs.wupperverband.de/swc/#/diagram?timespan=2017-01-23T23%3A59%3A59%2B01%3A00%2F2017-01-24T23%3A59%3A59%2B01%3A00&ts=**http://www.fluggs.de/sos2/api/v1/timeseries/2/**

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant