Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/create-a-new-form-data.RequestSchema.json
2026-07-28 21:39:01 +07:00

38 lines
1.0 KiB
JSON

{
"title": "Body",
"body": {
"content": {
"application/json": {
"schema": {
"properties": {
"chart_id": { "description": "The chart ID", "type": "integer" },
"datasource_id": {
"description": "The datasource ID",
"type": "integer"
},
"datasource_type": {
"description": "The datasource type",
"enum": ["table", "dataset", "query", "saved_query", "view"],
"type": "string"
},
"form_data": {
"description": "Any type of JSON supported text.",
"type": "string"
}
},
"required": ["datasource_id", "datasource_type", "form_data"],
"type": "object",
"title": "FormDataPostSchema"
},
"example": {
"chart_id": 1,
"datasource_id": 1,
"datasource_type": "table",
"form_data": "string"
}
}
},
"required": true
}
}