mirror of
https://github.com/apache/superset.git
synced 2026-08-04 04:52:32 +00:00
120 lines
3.8 KiB
JSON
120 lines
3.8 KiB
JSON
{
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"result": {
|
|
"items": {
|
|
"properties": {
|
|
"cache_timeout": {
|
|
"description": "Duration (in seconds) of the caching timeout for this chart. Note this defaults to the datasource/table timeout if undefined.",
|
|
"type": "integer"
|
|
},
|
|
"certification_details": {
|
|
"description": "Details of the certification",
|
|
"type": "string"
|
|
},
|
|
"certified_by": {
|
|
"description": "Person or group that has certified this chart",
|
|
"type": "string"
|
|
},
|
|
"changed_on": {
|
|
"description": "The ISO date that the chart was last changed.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "A description of the chart propose.",
|
|
"type": "string"
|
|
},
|
|
"description_markeddown": {
|
|
"description": "Sanitized HTML version of the chart description.",
|
|
"type": "string"
|
|
},
|
|
"form_data": {
|
|
"description": "Form data from the Explore controls used to form the chart's data query.",
|
|
"type": "object"
|
|
},
|
|
"id": {
|
|
"description": "The id of the chart.",
|
|
"type": "integer"
|
|
},
|
|
"slice_name": {
|
|
"description": "The name of the chart.",
|
|
"type": "string"
|
|
},
|
|
"slice_url": {
|
|
"description": "The URL of the chart.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "ChartEntityResponseSchema"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"example": { "result": [{}] }
|
|
}
|
|
},
|
|
"description": "Dashboard chart definitions"
|
|
},
|
|
"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"
|
|
},
|
|
"403": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": { "message": { "type": "string" } },
|
|
"type": "object"
|
|
},
|
|
"example": {
|
|
"message": "Forbidden: You don't have permission to access this resource"
|
|
}
|
|
}
|
|
},
|
|
"description": "Forbidden"
|
|
},
|
|
"404": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": { "message": { "type": "string" } },
|
|
"type": "object"
|
|
},
|
|
"example": {
|
|
"message": "Not found: The requested resource does not exist"
|
|
}
|
|
}
|
|
},
|
|
"description": "Not found"
|
|
}
|
|
}
|
|
}
|