mirror of
https://github.com/apache/superset.git
synced 2026-08-04 04:52:32 +00:00
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"title": "Body",
|
|
"body": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"always_filter_main_dttm": { "default": false, "type": "boolean" },
|
|
"catalog": {
|
|
"description": "The catalog the table belongs to",
|
|
"maxLength": 250,
|
|
"minLength": 0,
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"database_id": {
|
|
"description": "ID of database table belongs to",
|
|
"type": "integer"
|
|
},
|
|
"normalize_columns": { "default": false, "type": "boolean" },
|
|
"schema": {
|
|
"description": "The schema the table belongs to",
|
|
"maxLength": 250,
|
|
"minLength": 0,
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"table_name": { "description": "Name of table", "type": "string" },
|
|
"template_params": {
|
|
"description": "Template params for the table",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["database_id", "table_name"],
|
|
"type": "object",
|
|
"title": "GetOrCreateDatasetSchema"
|
|
},
|
|
"example": {
|
|
"always_filter_main_dttm": true,
|
|
"catalog": "string",
|
|
"database_id": 1,
|
|
"normalize_columns": true,
|
|
"schema": "string",
|
|
"table_name": "string",
|
|
"template_params": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
}
|
|
}
|