prime
Primes a write failure response
post/prime/{clusterId}#(write_failure)
Path parameters
clusterIdstring required
Id or name of the cluster
Request body
Example request
{
"when": {
"query": "SELECT * FROM tbl"
},
"then": {
"result": "write_failure",
"consistency_level": "LOCAL_QUORUM",
"received": 1,
"block_for": 2,
"failure_reasons": {
"127.0.0.1": "UNKNOWN"
}
}
}Response
PrimedQuery
Example response
{
"when": {
"query": "SELECT * FROM tbl"
},
"then": {
"result": "write_failure",
"consistency_level": "LOCAL_QUORUM",
"received": 1,
"block_for": 2,
"failure_reasons": {
"127.0.0.1": "UNKNOWN"
}
}
}Changes
Changed in 2 of the 50 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲