stats_service
Update query
Changed onpatch/api/v1/services/stats/query/{id}
Request
- Base URLhttp://localhost:8888
- Authnone declared
Path parameters
idstring required
Example:03cfc582-b1c3-410a-a9a7-1f3afe326b3b
Query ID
Query parameters
project_idinteger required
Project ID
Request body
Example request
{
"name": "test query",
"repeat_interval": 10
}Response
Query
Example response
{
"name": "test query",
"sql": "select id from accounts limit 1",
"gpt_message": "give me random id from accounts table",
"repeat_interval": 10
}Changes
- info
added the new optional request property
- info
the request property
became optional - info
added the optional property
to the response with the status
- info
- info
api tag
stats_serviceadded - info
api tag
dbremoved
- info