mirror of
https://github.com/apache/superset.git
synced 2026-08-04 13:02:41 +00:00
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"result": {
|
|
"description": "A list of each chart's warmup status and errors if any",
|
|
"items": {
|
|
"properties": {
|
|
"chart_id": {
|
|
"description": "The ID of the chart the status belongs to",
|
|
"type": "integer"
|
|
},
|
|
"viz_error": {
|
|
"description": "Error that occurred when warming cache for chart",
|
|
"type": "string"
|
|
},
|
|
"viz_status": {
|
|
"description": "Status of the underlying query for the viz",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "DatasetCacheWarmUpResponseSingle"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "DatasetCacheWarmUpResponseSchema"
|
|
},
|
|
"example": { "result": [] }
|
|
}
|
|
},
|
|
"description": "Each chart's warmup status"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": { "message": { "type": "string" } },
|
|
"type": "object"
|
|
},
|
|
"example": { "message": "Bad request: Invalid parameters provided" }
|
|
}
|
|
},
|
|
"description": "Bad request"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|