You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/02 17:15:57 UTC

[GitHub] [superset] hughhhh commented on a change in pull request #16558: feat: Arash/dashboardql

hughhhh commented on a change in pull request #16558:
URL: https://github.com/apache/superset/pull/16558#discussion_r701278602



##########
File path: superset/views/schema.graphql
##########
@@ -16,7 +32,30 @@ type DatabaseResult {
     database: Database
 }
 
+type Slice {
+    slice_id: ID!
+    slice_name: String
+    datasource: String
+    description: String
+    owners: [Float]
+}
+
+type DashboardInfo {
+    id: ID!
+    dashboard_title: String
+    owners: [Float]
+    slices: [Slice]
+    published: Boolean
+}
+type DashboardInfoResult {
+    success: Boolean!
+    errors: [String]
+    dashboard: DashboardInfo
+}
+
+
 type Query {
     databases: DatabaseResult!
     database(databaseId: ID!): DatabaseResult!
+    dashboardInfo(dashboard_id: ID!): DashboardInfoResult!

Review comment:
       ```suggestion
    dashboard(dashboardId: ID!): DashboardInfoResult!
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org