Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/warm-up-the-cache-for-the-chart.StatusCodes.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": "ChartCacheWarmUpResponseSingle"
},
"type": "array"
}
},
"type": "object",
"title": "ChartCacheWarmUpResponseSchema"
},
"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"
}
}
}