Takes a query context constructed in the client and returns payload data response for the given query.
643 matches
100 actions
Superset
100 actions
- delete_annotation_layerDELETEv1.0.0
- delete_annotation_layer_pkDELETEv1.0.0
- delete_annotation_layer_pk_annotationDELETEv1.0.0
- delete_annotation_layer_pk_annotation_annotation_idDELETEv1.0.0
- delete_chartDELETEv1.0.0
- delete_chart_pkDELETEv1.0.0
- delete_css_templateDELETEv1.0.0
- delete_css_template_pkDELETEv1.0.0
- delete_dashboardDELETEv1.0.0
- delete_dashboard_pkDELETEv1.0.0
- delete_database_pkDELETEv1.0.0
- delete_datasetDELETEv1.0.0
- delete_dataset_pkDELETEv1.0.0
- delete_dataset_pk_column_column_idDELETEv1.0.0
- delete_dataset_pk_metric_metric_idDELETEv1.0.0
- delete_reportDELETEv1.0.0
- delete_report_pkDELETEv1.0.0
- delete_saved_queryDELETEv1.0.0
- delete_saved_query_pkDELETEv1.0.0
- get_annotation_layerGETv1.0.0
- get_annotation_layer_infoGETv1.0.0
- get_annotation_layer_pkGETv1.0.0
- get_annotation_layer_pk_annotationGETv1.0.0
- get_annotation_layer_pk_annotation_annotation_idGETv1.0.0
- get_annotation_layer_related_column_nameGETv1.0.0
- get_async_eventGETv1.0.0
- get_chartGETv1.0.0
- get_chart_data_cache_keyGETv1.0.0
- get_chart_favorite_statusGETv1.0.0
- get_chart_infoGETv1.0.0
- get_chart_pkGETv1.0.0
- get_chart_pk_cache_screenshotGETv1.0.0
- get_chart_pk_dataGETv1.0.0
- get_chart_pk_screenshot_digestGETv1.0.0
- get_chart_pk_thumbnail_digestGETv1.0.0
- get_chart_related_column_nameGETv1.0.0
- get_css_templateGETv1.0.0
- get_css_template_infoGETv1.0.0
- get_css_template_pkGETv1.0.0
- get_css_template_related_column_nameGETv1.0.0
- get_dashboardGETv1.0.0
- get_dashboard_favorite_statusGETv1.0.0
- get_dashboard_id_or_slugGETv1.0.0
- get_dashboard_id_or_slug_chartsGETv1.0.0
- get_dashboard_id_or_slug_datasetsGETv1.0.0
- get_dashboard_infoGETv1.0.0
- get_dashboard_pk_thumbnail_digestGETv1.0.0
- get_dashboard_related_column_nameGETv1.0.0
- get_databaseGETv1.0.0
- get_database_availableGETv1.0.0
- get_database_infoGETv1.0.0
- get_database_pkGETv1.0.0
- get_database_pk_function_namesGETv1.0.0
- get_database_pk_related_objectsGETv1.0.0
- get_database_pk_select_star_table_nameGETv1.0.0
- get_datasetGETv1.0.0
- get_dataset_distinct_column_nameGETv1.0.0
- get_dataset_infoGETv1.0.0
- get_dataset_pkGETv1.0.0
- get_dataset_pk_related_objectsGETv1.0.0
- get_dataset_related_column_nameGETv1.0.0
- get_logGETv1.0.0
- get_log_pkGETv1.0.0
- get_menuGETv1.0.0
- get_queryGETv1.0.0
- get_query_distinct_column_nameGETv1.0.0
- get_query_pkGETv1.0.0
- get_query_related_column_nameGETv1.0.0
- get_reportGETv1.0.0
- get_report_infoGETv1.0.0
- get_report_pkGETv1.0.0
- get_report_pk_logGETv1.0.0
- get_report_pk_log_log_idGETv1.0.0
- get_report_related_column_nameGETv1.0.0
- get_saved_queryGETv1.0.0
- get_saved_query_distinct_column_nameGETv1.0.0
- get_saved_query_infoGETv1.0.0
- get_saved_query_pkGETv1.0.0
- get_saved_query_related_column_nameGETv1.0.0
- post_annotation_layerPOSTv1.0.0
- post_annotation_layer_pk_annotationPOSTv1.0.0
- post_cachekey_invalidatePOSTv1.0.0
- post_chartPOSTv1.0.0
- post_chart_dataPOSTv1.0.0
- post_css_templatePOSTv1.0.0
- post_dashboardPOSTv1.0.0
- post_databasePOSTv1.0.0
- post_database_test_connectionPOSTv1.0.0
- post_database_validate_parametersPOSTv1.0.0
- post_datasetPOSTv1.0.0
- post_logPOSTv1.0.0
- post_reportPOSTv1.0.0
- post_saved_queryPOSTv1.0.0
- post_security_loginPOSTv1.0.0
- post_security_refreshPOSTv1.0.0
- put_annotation_layer_pkPUTv1.0.0
- put_annotation_layer_pk_annotation_annotation_idPUTv1.0.0
- put_chart_pkPUTv1.0.0
- put_css_template_pkPUTv1.0.0
- put_dashboard_pkPUTv1.0.0
Other/Superset
post_chart_data
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331
- 332
- 333
- 334
- 335
- 336
- 337
- 338
- 339
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 349
- 350
- 351
- 352
- 353
- 354
- 355
- 356
{
"type": "object",
"properties": {
"datasource": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "Datasource id"
},
"type": {
"type": "string",
"description": "Datasource type",
"enum": [
"druid",
"table"
]
}
}
},
"force": {
"type": "boolean",
"description": "Should the queries be forced to load from the source. Default: `false`"
},
"queries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"annotation_layers": {
"type": "array",
"description": "Annotation layers to apply to chart",
"items": {
"type": "object",
"required": [
"name",
"show",
"showMarkers",
"value"
],
"properties": {
"annotationType": {
"type": "string",
"description": "Type of annotation layer",
"enum": [
"FORMULA",
"INTERVAL",
"EVENT",
"TIME_SERIES"
]
},
"color": {
"type": "string",
"description": "Layer color"
},
"descriptionColumns": {
"type": "array",
"description": "Columns to use as the description. If none are provided, all will be shown.",
"items": {
"type": "string"
}
},
"hideLine": {
"type": "boolean",
"description": "Should line be hidden. Only applies to line annotations"
},
"intervalEndColumn": {
"type": "string",
"description": "Column containing end of interval. Only applies to interval layers"
},
"name": {
"type": "string",
"description": "Name of layer"
},
"opacity": {
"type": "string",
"description": "Opacity of layer",
"enum": [
"",
"opacityLow",
"opacityMedium",
"opacityHigh"
]
},
"overrides": {
"type": "object",
"description": "which properties should be overridable"
},
"show": {
"type": "boolean",
"description": "Should the layer be shown"
},
"showMarkers": {
"type": "boolean",
"description": "Should markers be shown. Only applies to line annotations."
},
"sourceType": {
"type": "string",
"description": "Type of source for annotation data",
"enum": [
"",
"line",
"NATIVE",
"table"
]
},
"style": {
"type": "string",
"description": "Line style. Only applies to time-series annotations",
"enum": [
"dashed",
"dotted",
"solid",
"longDashed"
]
},
"timeColumn": {
"type": "string",
"description": "Column with event date or interval start date"
},
"titleColumn": {
"type": "string",
"description": "Column with title"
},
"value": {
"description": "For formula annotations, this contains the formula. For other types, this is the primary key of the source object.",
"type": "object"
},
"width": {
"type": "number",
"format": "float",
"description": "Width of annotation line"
}
}
}
},
"applied_time_extras": {
"type": "object",
"description": "A mapping of temporal extras that have been applied to the query"
},
"apply_fetch_values_predicate": {
"type": "boolean",
"description": "Add fetch values predicate (where clause) to query if defined in datasource"
},
"columns": {
"type": "array",
"description": "Columns which to select in the query.",
"items": {
"type": "string"
}
},
"datasource": {
"type": "object"
},
"druid_time_origin": {
"type": "string",
"description": "Starting point for time grain counting on legacy Druid datasources. Used to change e.g. Monday/Sunday first-day-of-week. This field is deprecated and should be passed to `extras` as `druid_time_origin`."
},
"extras": {
"description": "Extra parameters to add to the query.",
"type": "object"
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"col",
"op"
],
"properties": {
"col": {
"type": "string",
"description": "The column to filter."
},
"op": {
"type": "string",
"description": "The comparison operator.",
"enum": [
"==",
"!=",
">",
"<",
">=",
"<=",
"LIKE",
"ILIKE",
"IS NULL",
"IS NOT NULL",
"IN",
"NOT IN",
"REGEX",
"IS TRUE",
"IS FALSE"
]
},
"val": {
"description": "The value or values to compare against. Can be a string, integer, decimal or list, depending on the operator.",
"type": "object"
}
}
}
},
"granularity": {
"type": "string",
"description": "Name of temporal column used for time filtering. For legacy Druid datasources this defines the time grain."
},
"granularity_sqla": {
"type": "string",
"description": "Name of temporal column used for time filtering for SQL datasources. This field is deprecated, use `granularity` instead."
},
"groupby": {
"type": "array",
"items": {
"type": "string",
"description": "Columns by which to group the query."
}
},
"having": {
"type": "string",
"description": "HAVING clause to be added to aggregate queries using AND operator. This field is deprecated and should be passed to `extras`."
},
"having_filters": {
"type": "array",
"description": "HAVING filters to be added to legacy Druid datasource queries. This field is deprecated and should be passed to `extras` as `having_druid`.",
"items": {
"type": "object",
"required": [
"col",
"op"
],
"properties": {
"col": {
"type": "string",
"description": "The column to filter."
},
"op": {
"type": "string",
"description": "The comparison operator.",
"enum": [
"==",
"!=",
">",
"<",
">=",
"<=",
"LIKE",
"ILIKE",
"IS NULL",
"IS NOT NULL",
"IN",
"NOT IN",
"REGEX",
"IS TRUE",
"IS FALSE"
]
},
"val": {
"description": "The value or values to compare against. Can be a string, integer, decimal or list, depending on the operator.",
"type": "object"
}
}
}
},
"is_rowcount": {
"type": "boolean",
"description": "Should the rowcount of the actual query be returned"
},
"is_timeseries": {
"type": "boolean",
"description": "Is the `query_object` a timeseries."
},
"metrics": {
"type": "array",
"description": "Aggregate expressions. Metrics can be passed as both references to datasource metrics (strings), or ad-hoc metricswhich are defined only within the query object. See `ChartDataAdhocMetricSchema` for the structure of ad-hoc metrics.",
"items": {
"type": "object"
}
},
"order_desc": {
"type": "boolean",
"description": "Reverse order. Default: `false`"
},
"orderby": {
"type": "array",
"description": "Expects a list of lists where the first element is the column name which to sort by, and the second element is a boolean.",
"items": {
"type": "object"
}
},
"post_processing": {
"type": "array",
"description": "Post processing operations to be applied to the result set. Operations are applied to the result set in sequential order.",
"items": {
"type": "object"
}
},
"result_type": {
"type": "object"
},
"row_limit": {
"type": "integer",
"format": "int32",
"description": "Maximum row count (0=disabled). Default: `config[\"ROW_LIMIT\"]`"
},
"row_offset": {
"type": "integer",
"format": "int32",
"description": "Number of rows to skip. Default: `0`"
},
"time_offsets": {
"type": "array",
"items": {
"type": "string"
}
},
"time_range": {
"type": "string",
"description": "A time rage, either expressed as a colon separated string `since : until` or human readable freeform. Valid formats for `since` and `until` are: \n- ISO 8601\n- X days/years/hours/day/year/weeks\n- X days/years/hours/day/year/weeks ago\n- X days/years/hours/day/year/weeks from now\n\nAdditionally, the following freeform can be used:\n\n- Last day\n- Last week\n- Last month\n- Last quarter\n- Last year\n- No filter\n- Last X seconds/minutes/hours/days/weeks/months/years\n- Next X seconds/minutes/hours/days/weeks/months/years\n"
},
"time_shift": {
"type": "string",
"description": "A human-readable date/time string. Please refer to [parsdatetime](https://github.com/bear/parsedatetime) documentation for details on valid values."
},
"timeseries_limit": {
"type": "integer",
"format": "int32",
"description": "Maximum row count for timeseries queries. Default: `0`"
},
"timeseries_limit_metric": {
"description": "Metric used to limit timeseries queries by.",
"type": "object"
},
"url_params": {
"type": "object",
"description": "Optional query parameters passed to a dashboard or Explore view"
},
"where": {
"type": "string",
"description": "WHERE clause to be added to queries using AND operator.This field is deprecated and should be passed to `extras`."
}
}
}
},
"result_format": {
"type": "object"
},
"result_type": {
"type": "object"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
{
"type": "object",
"properties": {
"result": {
"type": "array",
"description": "A list of results for each corresponding query in the request.",
"items": {
"type": "object",
"required": [
"cache_key",
"cache_timeout",
"cached_dttm",
"is_cached",
"query"
],
"properties": {
"annotation_data": {
"type": "array",
"description": "All requested annotation data",
"items": {
"type": "object"
}
},
"applied_filters": {
"type": "array",
"description": "A list with applied filters",
"items": {
"type": "object"
}
},
"cache_key": {
"type": "string",
"description": "Unique cache key for query object"
},
"cache_timeout": {
"type": "integer",
"format": "int32",
"description": "Cache timeout in following order: custom timeout, datasource timeout, default config timeout."
},
"cached_dttm": {
"type": "string",
"description": "Cache timestamp"
},
"data": {
"type": "array",
"description": "A list with results",
"items": {
"type": "object"
}
},
"error": {
"type": "string",
"description": "Error"
},
"is_cached": {
"type": "boolean",
"description": "Is the result cached"
},
"query": {
"type": "string",
"description": "The executed query statement"
},
"rejected_filters": {
"type": "array",
"description": "A list with rejected filters",
"items": {
"type": "object"
}
},
"rowcount": {
"type": "integer",
"format": "int32",
"description": "Amount of rows in result set"
},
"stacktrace": {
"type": "string"
},
"status": {
"type": "string",
"description": "Status of the query",
"enum": [
"stopped",
"failed",
"pending",
"running",
"scheduled",
"success",
"timed_out"
]
}
}
}
}
}
}