GitHub user dosubot[bot] added a comment to the discussion: Creating a 
dashboard via API to be embedded in my app

<!-- Greeting -->
Hey @owenr8226,

I'm here to help you with any bugs, questions, or contributions. Let's tackle 
this together!

<!-- Answer -->
I found two similar discussions that might be helpful for your situation:

1. [Using Superset APIs to build 
dashboards](https://github.com/apache/superset/discussions/29903) - This 
discussion is still open and might provide insights into using Superset APIs 
for dashboard creation 
<sup>[[1]](https://github.com/apache/superset/discussions/29903)</sup>.

2. [Use API to automate dashboard with custom layout 
creation](https://github.com/apache/superset/discussions/26466) - This is 
another open discussion that explores automating dashboard creation with custom 
layouts using the API 
<sup>[[2]](https://github.com/apache/superset/discussions/26466)</sup>.

For generating the `position_json` for creating a dashboard via the POST 
`/api/v1/dashboard/` API, you can refer to the example provided in the 
`superset/examples/supported_charts_dashboard.py` file. This file contains a 
sample `position_json` structure that you can use as a template. Additionally, 
the `superset/daos/dashboard.py` file contains code related to handling 
`position_json`, which might be useful for understanding how it is processed 
and utilized within Superset 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset/examples/supported_charts_dashboard.py)</sup><sup>[[4]](https://github.com/apache/superset/blob/master/superset/daos/dashboard.py)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/75099e89-bc5d-4fd3-8188-55c487baa7a4?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/32970#discussioncomment-12694044

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to