Retreiving data chartd/datasets/dashboards based on #18276
Replies: 14 comments
-
@dpgaspar ^ Daniel could you help answer? thanks! |
Beta Was this translation helpful? Give feedback.
-
@betodealmeida would you mind weighing in? |
Beta Was this translation helpful? Give feedback.
-
please, anybody? |
Beta Was this translation helpful? Give feedback.
-
I've used dashboard with q parameters And then make a request - where id in parentheses is ID of dashboard http://127.0.0.1:8088/api/v1/dashboard/export/?q=!(3) Wouldn't say it's proper solution but that the way how i made it work. |
Beta Was this translation helpful? Give feedback.
-
@GGPay thanks I can get all info about dashboard/chart/dataset but I'm interesting in possibility to get/export data dashboard/chart/dataset based on. I tried all API calls and did not find any way to retrieve data at least from DB. Is this possible? |
Beta Was this translation helpful? Give feedback.
-
As i said before - open url in a browser where 142 - is chart ID Don't forget authenticate. http://your_superset_host/api/v1/chart/export/?q=!(142) 3 - Dashboard ID http://your_superset_host/api/v1/dashboard/export/?q=!(3) And get yaml zip file |
Beta Was this translation helpful? Give feedback.
-
I've got .zip file with .yaml files which are schemas, not values. May be smth need to be configured in additional way? |
Beta Was this translation helpful? Give feedback.
-
I don't really understand what are you trying to achieve? Dashboard/Charts/Queries export are export of .yamls schemas. Don't understand why you need export values - just write SQL to database. Take a look chart/data or reverse frontend request to find what you're looking. |
Beta Was this translation helpful? Give feedback.
-
And I can't get data from DB through the API? |
Beta Was this translation helpful? Give feedback.
-
@supermarin1 like @GGPay take a looks at |
Beta Was this translation helpful? Give feedback.
-
The next question: I have schema and information for ordering from Forming the json for How can I get the proper ordering? |
Beta Was this translation helpful? Give feedback.
-
I'm not really famililar with
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is there the way to export data charts/dashboards based on with REST API v. 1.0.0?
Tried /chart/export/, /database/export/, /dashboard/export/ and have no luck. Or I understand wrong meaning of export?
Please, advise.
Beta Was this translation helpful? Give feedback.
All reactions