Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-a-chart-detail-information.StatusCodes.json
2026-07-28 21:39:01 +07:00

146 lines
4.9 KiB
JSON

{
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"result": {
"properties": {
"cache_timeout": { "type": "string" },
"certification_details": { "type": "string" },
"certified_by": { "type": "string" },
"changed_on_delta_humanized": { "type": "string" },
"dashboards": {
"items": {
"properties": {
"dashboard_title": { "type": "string" },
"id": { "type": "integer" },
"json_metadata": { "type": "string" }
},
"type": "object",
"title": "Dashboard"
},
"type": "array"
},
"datasource_id": { "type": "integer" },
"datasource_name_text": { "readOnly": true },
"datasource_type": { "type": "string" },
"datasource_url": { "readOnly": true },
"datasource_uuid": { "format": "uuid", "type": "string" },
"description": { "type": "string" },
"id": {
"description": "The id of the chart.",
"type": "integer"
},
"is_managed_externally": { "type": "boolean" },
"owners": {
"items": {
"properties": {
"first_name": { "type": "string" },
"id": { "type": "integer" },
"last_name": { "type": "string" }
},
"type": "object",
"title": "User"
},
"type": "array"
},
"params": { "type": "string" },
"query_context": { "type": "string" },
"slice_name": { "type": "string" },
"tags": {
"items": {
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"type": { "enum": [1, 2, 3, 4] }
},
"type": "object",
"title": "Tag"
},
"type": "array"
},
"thumbnail_url": { "type": "string" },
"url": { "type": "string" },
"uuid": { "format": "uuid", "type": "string" },
"viz_type": { "type": "string" }
},
"type": "object",
"title": "ChartGetResponseSchema"
}
},
"type": "object"
},
"example": {
"result": {
"cache_timeout": "string",
"certification_details": "string",
"certified_by": "string",
"changed_on_delta_humanized": "string",
"dashboards": [],
"datasource_id": 1,
"datasource_name_text": {},
"datasource_type": "string",
"datasource_url": {},
"datasource_uuid": "550e8400-e29b-41d4-a716-446655440000",
"description": "string",
"id": 1,
"is_managed_externally": true,
"owners": [],
"params": "string",
"query_context": "string",
"slice_name": "string",
"tags": [],
"thumbnail_url": "string",
"url": "string",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"viz_type": "string"
}
}
}
},
"description": "Chart"
},
"302": { "description": "Redirects to the current digest" },
"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"
}
}
}