v1
latestSwagger 2.02026-07-17586981.0 KBprime
Primes a scenario such that when a query is received closes client connections
post/prime/{clusterId}#(close_connection)
Path parameters
clusterIdstring required
Id or name of the cluster
Request body
Example request
{
"when": {
"query": "SELECT * FROM tbl"
},
"then": {
"result": "close_connection",
"close_type": "disconnect",
"scope": "connection"
}
}Response
PrimedQuery
Example response
{
"when": {
"query": "SELECT * FROM tbl"
},
"then": {
"result": "close_connection",
"close_type": "disconnect",
"scope": "connection"
}
}