API Documents/DWH Integration API//
- Update a DWH Integration.
List all DWH Integrations for the current user.
Create a new DWH Integration
Get a DWH Integration.
Delete a DWH Integration.
List all Bulkload sessions of the current DWH Integration.
Get a DWH Integration configuration.
Trigger run the DWH Integration workflow.
List all DWH Workflow session attempts.
Guess DWH Integration configuration
Update a DWH Integration.
Security
apiKey
The schedule value for the schedule_type. For example, if schedule_type is daily, schedule_option should be a time string like 10:00.
The DWH Integration advanced configs. The configs contain array of of table configs which combine with the basic configs will be used to create Connector Bulkload Session.
- Production AWS serverhttps://dwh-integration-api.treasuredata.com/v1/dwh/{dwh_id}
- Production EU01 serverhttps://dwh-integration-api.eu01.treasuredata.com/v1/dwh/{dwh_id}
- Production AP02 serverhttps://dwh-integration-api.ap02.treasuredata.com/v1/dwh/{dwh_id}
- Production AP03 serverhttps://dwh-integration-api.ap03.treasuredata.com/v1/dwh/{dwh_id}
- Production AWS Tokyo serverhttps://dwh-integration-api.treasuredata.co.jp/v1/dwh/{dwh_id}
curl -i -X PUT \
'https://dwh-integration-api.treasuredata.com/v1/dwh/{dwh_id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "test",
"schedule_type": "daily",
"schedule_option": "11:00",
"timezone": "Asia/Tokyo",
"basic_configs": {
"td_authentication_id": 11,
"database": "database",
"table": "table",
"schema": "test"
},
"advanced_configs": [
{
"target_table": "test",
"config": {
"select": "1",
"table": "test",
"source_type": "presto"
}
}
],
"output_config": {
"type": "td",
"database": "test",
"table": "test",
"schema": "test"
}
}'DWH Integration Updated
The schedule value for the schedule_type. For example, if schedule_type is daily, schedule_option should be a time string like 10:00.
Response
{ "schedule_type": "none", "schedule_option": "string", "timezone": "string", "id": 0, "name": "string", "user_id": 0, "account_id": 0, "workflow_project_id": 0, "workflow_project_name": "string", "dwh_config_id": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }