| { |
| "responses": { |
| "202": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { |
| "cache_key": { "description": "The cache key", "type": "string" }, |
| "dashboard_url": { |
| "description": "The url to render the dashboard", |
| "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": "DashboardCacheScreenshotResponseSchema" |
| }, |
| "example": { |
| "cache_key": "string", |
| "dashboard_url": "string", |
| "image_url": "string", |
| "task_status": "string", |
| "task_updated_at": "string" |
| } |
| } |
| }, |
| "description": "Dashboard async result" |
| }, |
| "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" |
| } |
| } |
| } |