Where to find the definition of the dashboard variables in the grafana code

Hi There,

Can someone tell me where in the grafana code, I can find the definition of the dashbaord variables?

I like to try and make these (and their live values) available via the http api. Any ideas where I should start?

Thanks,

Geert

Checkout variableSrv cannot be exposed via http api as current values only live in frontend, in backend it lives in the db dashboard json model