curl --request POST \
--url https://developer.synq.io/api/datawarehouse/v1/connection/{connection_id}/upload/{upload_id}/task-results \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stateAt": "1s",
"taskData": {
"fetchMetricsResult": {
"queryRows": [
{
"rows": [
{
"segment": "<string>",
"columnValues": [
{
"doubleValue": 123,
"name": "<string>",
"isNull": true
}
]
}
],
"queryId": "<string>"
}
],
"commandContext": "<string>"
}
}
}'
{}
curl --request POST \
--url https://developer.synq.io/api/datawarehouse/v1/connection/{connection_id}/upload/{upload_id}/task-results \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stateAt": "1s",
"taskData": {
"fetchMetricsResult": {
"queryRows": [
{
"rows": [
{
"segment": "<string>",
"columnValues": [
{
"doubleValue": 123,
"name": "<string>",
"isNull": true
}
]
}
],
"queryId": "<string>"
}
],
"commandContext": "<string>"
}
}
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.