A valid request URL is required to generate request examples{
"results": {
"offset": 123,
"total": 123,
"missingIds": [
"<string>"
],
"sqlCharts": [
{
"description": "<string>",
"name": "<string>",
"slug": "<string>",
"config": {
"type": "vertical_bar",
"metadata": {
"version": 123
},
"display": {
"stack": true,
"legend": {
"align": "start",
"position": "top"
},
"series": {},
"yAxis": [
{
"format": "km",
"position": "<string>",
"label": "<string>"
}
],
"xAxis": {
"type": "time",
"label": "<string>"
}
},
"fieldConfig": {
"y": [
{
"aggregation": "sum",
"reference": "<string>"
}
],
"stack": true,
"sortBy": [
{
"direction": "ASC",
"reference": "<string>"
}
],
"groupBy": [
{
"reference": "<string>"
}
],
"x": {
"type": "time",
"reference": "<string>"
}
}
},
"sql": "<string>",
"limit": 123,
"chartKind": "line",
"updatedAt": "2023-11-07T05:31:56Z",
"spaceSlug": "<string>",
"version": 123,
"downloadedAt": "2023-11-07T05:31:56Z"
}
]
},
"status": "ok"
}Gets SQL charts in code representation
A valid request URL is required to generate request examples{
"results": {
"offset": 123,
"total": 123,
"missingIds": [
"<string>"
],
"sqlCharts": [
{
"description": "<string>",
"name": "<string>",
"slug": "<string>",
"config": {
"type": "vertical_bar",
"metadata": {
"version": 123
},
"display": {
"stack": true,
"legend": {
"align": "start",
"position": "top"
},
"series": {},
"yAxis": [
{
"format": "km",
"position": "<string>",
"label": "<string>"
}
],
"xAxis": {
"type": "time",
"label": "<string>"
}
},
"fieldConfig": {
"y": [
{
"aggregation": "sum",
"reference": "<string>"
}
],
"stack": true,
"sortBy": [
{
"direction": "ASC",
"reference": "<string>"
}
],
"groupBy": [
{
"reference": "<string>"
}
],
"x": {
"type": "time",
"reference": "<string>"
}
}
},
"sql": "<string>",
"limit": 123,
"chartKind": "line",
"updatedAt": "2023-11-07T05:31:56Z",
"spaceSlug": "<string>",
"version": 123,
"downloadedAt": "2023-11-07T05:31:56Z"
}
]
},
"status": "ok"
}Was this page helpful?