{ "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "charts": { "properties": { "count": { "description": "Chart count", "type": "integer" }, "result": { "description": "A list of dashboards", "items": { "properties": { "id": { "type": "integer" }, "slice_name": { "type": "string" }, "viz_type": { "type": "string" } }, "type": "object", "title": "DatasetRelatedChart" }, "type": "array" } }, "type": "object", "title": "DatasetRelatedCharts" }, "dashboards": { "properties": { "count": { "description": "Dashboard count", "type": "integer" }, "result": { "description": "A list of dashboards", "items": { "properties": { "id": { "type": "integer" }, "json_metadata": { "type": "object" }, "slug": { "type": "string" }, "title": { "type": "string" } }, "type": "object", "title": "DatasetRelatedDashboard" }, "type": "array" } }, "type": "object", "title": "DatasetRelatedDashboards" } }, "type": "object", "title": "DatasetRelatedObjectsResponse" }, "example": { "charts": {}, "dashboards": {} } } }, "description": "Query result" }, "401": { "content": { "application/json": { "schema": { "properties": { "message": { "type": "string" } }, "type": "object" }, "example": { "message": "Unauthorized: Authentication required" } } }, "description": "Unauthorized" }, "404": { "content": { "application/json": { "schema": { "properties": { "message": { "type": "string" } }, "type": "object" }, "example": { "message": "Not found: The requested resource does not exist" } } }, "description": "Not found" }, "500": { "content": { "application/json": { "schema": { "properties": { "message": { "type": "string" } }, "type": "object" }, "example": { "message": "Internal server error: An unexpected error occurred" } } }, "description": "Fatal error" } } }