| { |
| "title": "Body", |
| "body": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { |
| "catalog": { "nullable": true, "type": "string" }, |
| "client_id": { "nullable": true, "type": "string" }, |
| "ctas_method": { "nullable": true, "type": "string" }, |
| "database_id": { "type": "integer" }, |
| "expand_data": { "nullable": true, "type": "boolean" }, |
| "queryLimit": { "nullable": true, "type": "integer" }, |
| "runAsync": { "nullable": true, "type": "boolean" }, |
| "schema": { "nullable": true, "type": "string" }, |
| "select_as_cta": { "nullable": true, "type": "boolean" }, |
| "sql": { "type": "string" }, |
| "sql_editor_id": { "nullable": true, "type": "string" }, |
| "tab": { "nullable": true, "type": "string" }, |
| "templateParams": { "nullable": true, "type": "string" }, |
| "tmp_table_name": { "nullable": true, "type": "string" } |
| }, |
| "required": ["database_id", "sql"], |
| "type": "object", |
| "title": "ExecutePayloadSchema" |
| }, |
| "example": { |
| "catalog": "string", |
| "client_id": "string", |
| "ctas_method": "string", |
| "database_id": 1, |
| "expand_data": true, |
| "queryLimit": 1, |
| "runAsync": true, |
| "schema": "string", |
| "select_as_cta": true, |
| "sql": "string", |
| "sql_editor_id": "string", |
| "tab": "string", |
| "templateParams": "string", |
| "tmp_table_name": "string" |
| } |
| } |
| }, |
| "description": "SQL query and params", |
| "required": true |
| } |
| } |