Data Transfer
Last updated
{
"id": string, // batch_id
"status": string // in-progress / failure / success
}curl --location --globoff '<host>/es/v2/data/825c0cb809444dba/transfer?account_id=da85fa0834e1bb11}}' \
--header ''Authorization: Bearer f571a1ea-bd6a-487e-a33f-3999bf00b060' \
--header 'Content-Type: application/json' \
--data '{
"configuration": {
"source": {
"bucketURI": "s3://snowflake-native-app-test/connectors/sample"
}
}
}'GET /es/v2/data/<connection_id>/status/<batch_id>&accountId=<sub_account_id> // Required for data transfers in sub-accounts{
"id": string,
"status": string // pending / failure / success
}curl --location '<host>/es/v2/data/849b79953b98feac/status/c21c77079c084d0c9846259bf564c070?accountId=a3ba4fbd9d51df11' \
--header 'Authorization: Bearer c076dc2e-d0c2-4d4d-ab13-e4e3dd555fc0'