HDB++ Rest API?
|
|
---|---|
Hi, I would like to rspresent the history of a value through a web page. How can I take these values? Does hdb ++ have a rest API? I must use Tango Rest API and what parameters should I use? Should I connect to database directly? I couldn't find anything. Thanks, Salvo |
|
|
---|---|
Hi Salvo, As far as I know, HDB++ does not have yet a REST API. I know someone at the ESRF who developed something to display historic values from a set of attributes on a web page. I think it is currently connecting to the database directly. Kind regards, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Thanks for your response. |
|
|
---|---|
eGiga2m provide such a service for the MySQL DB https://github.com/luciozambon/eGiga2m/blob/master/lib/service/hdbpp_conf.php https://github.com/luciozambon/eGiga2m/blob/master/lib/service/hdbpp_plot_service.php you should configure hdbpp_conf.php according to your installation the data are exported according to this schema https://github.com/luciozambon/eGiga2m/blob/master/schemas/plot.json Kind regards, Lucio |
|
|
---|---|
Thanks! |