{ "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "cache_key": { "description": "The cache key", "type": "string" }, "chart_url": { "description": "The url to render the chart", "type": "string" }, "image_url": { "description": "The url to fetch the screenshot", "type": "string" }, "task_status": { "description": "The status of the async screenshot", "type": "string" }, "task_updated_at": { "description": "The timestamp of the last change in status", "type": "string" } }, "type": "object", "title": "ChartCacheScreenshotResponseSchema" }, "example": { "cache_key": "string", "chart_url": "string", "image_url": "string", "task_status": "string", "task_updated_at": "string" } } }, "description": "Chart async result" }, "202": { "content": { "application/json": { "schema": { "properties": { "cache_key": { "description": "The cache key", "type": "string" }, "chart_url": { "description": "The url to render the chart", "type": "string" }, "image_url": { "description": "The url to fetch the screenshot", "type": "string" }, "task_status": { "description": "The status of the async screenshot", "type": "string" }, "task_updated_at": { "description": "The timestamp of the last change in status", "type": "string" } }, "type": "object", "title": "ChartCacheScreenshotResponseSchema" }, "example": { "cache_key": "string", "chart_url": "string", "image_url": "string", "task_status": "string", "task_updated_at": "string" } } }, "description": "Chart screenshot task created" }, "400": { "content": { "application/json": { "schema": { "properties": { "message": { "type": "string" } }, "type": "object" }, "example": { "message": "Bad request: Invalid parameters provided" } } }, "description": "Bad request" }, "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" } } }