RunQueriesDry
POST
/api/ToBackendRunQueriesDryDry-run queries
Request Body
application/json
Response Body
application/json
curl -X POST "http://localhost:3000/api/ToBackendRunQueriesDry" \ -H "Content-Type: application/json" \ -d '{ "info": { "name": "api/ToBackendRunQueriesDry", "traceId": "string", "idempotencyKey": "string" }, "payload": { "projectId": "string", "repoId": "string", "branchId": "string", "envId": "string", "mconfigIds": [ "string" ], "dryId": "string" } }'{
"info": {
"path": "/api/ToBackendRunQueriesDry",
"method": "POST",
"mproveVersion": "string",
"duration": 0,
"status": "Ok",
"traceId": "string",
"error": null
},
"payload": {
"dryId": "string",
"validQueryEstimates": [
{
"queryId": "string",
"estimate": -9007199254740991,
"lastRunDryTs": 0
}
],
"errorQueries": [
{
"projectId": "string",
"envId": "string",
"connectionId": "string",
"connectionType": "PostgreSQL",
"queryId": "string",
"reportId": "string",
"reportStructId": "string",
"sql": "string",
"apiMethod": "POST",
"apiUrl": "string",
"apiBody": null,
"status": "New",
"data": null,
"lastRunBy": "string",
"lastRunTs": -9007199254740991,
"lastCancelTs": -9007199254740991,
"lastCompleteTs": -9007199254740991,
"lastCompleteDuration": 0,
"lastErrorMessage": "string",
"lastErrorTs": -9007199254740991,
"queryJobId": "string",
"bigqueryQueryJobId": "string",
"bigqueryConsecutiveErrorsGetJob": -9007199254740991,
"bigqueryConsecutiveErrorsGetResults": -9007199254740991,
"serverTs": -9007199254740991
}
]
}
}