{
"token": "string",
"acId": "string",
"name": "string",
"parentDirId": "string",
"cron": {
"cronType": "default",
"value": "string"
},
"tableQuery": {
"queryType": "string",
"table": "string",
"query": "string"
},
"sourceType": "DIRECT_CONNECT_DATABASE",
"realTimeUpdateSetting": {
"enabled": true,
"interval": 0,
"disableCache": true
},
"primaryKeyColumns": [
"string"
],
"guanIndexIncrementalUpdateSetting": {
"enabled": true,
"query": "string"
}
}curl --location --request POST '/public-api/data-source/create-from-account' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "string",
"acId": "string",
"name": "string",
"parentDirId": "string",
"cron": {
"cronType": "default",
"value": "string"
},
"tableQuery": {
"queryType": "string",
"table": "string",
"query": "string"
},
"sourceType": "DIRECT_CONNECT_DATABASE",
"realTimeUpdateSetting": {
"enabled": true,
"interval": 0,
"disableCache": true
},
"primaryKeyColumns": [
"string"
],
"guanIndexIncrementalUpdateSetting": {
"enabled": true,
"query": "string"
}
}'{
"result": "ok",
"response": {
"taskId": "1b6e0ab0-8798-11ef-894c-b1b9ab6ee927",
"status": "已提交",
"result": "处理中",
"dsId": "e5063f6ac9fff44d1a385b9e"
}
}