POST /プロジェクト/{projectId}/query
curl \
--request POST 'http://127.0.0.1:8278/api/v1/project/{projectId}/queries' \
--header "Content-Type: application/json" \
--data '{"inputQuery":"string"}'
リクエスト例
{
"inputQuery": "string"
}
応答の例(200)
{
"id": "string",
"projectId": "string",
"input": {
"database": "string",
"schema": "string",
"name": "string",
"query": "string",
"createdAt": "2025-05-04T09:42:00Z",
"runScriptTemplate": "string",
"queryType": "STORED_PROCEDURE"
},
"output": {
"query": "string",
"status": "NOT_STARTED",
"lastModifiedAt": "2025-05-04T09:42:00Z",
"language": "JAVA",
"attemptedTypedEntities": true,
"usedTypedEntities": false,
"errorMessage": "string",
"modified": true,
"runScriptTemplate": "string",
"functionName": "string"
}
}