v1

latestSwagger 2.02026-07-17586981.0 KB
prime

Primes an already exists error response

post/prime/{clusterId}#(already_exists)

Path parameters

clusterIdstring required

Id or name of the cluster

Request body

Example request

{
  "when": {
    "query": "SELECT * FROM tbl"
  },
  "then": {
    "result": "already_exists",
    "message": "The table already exists",
    "keyspace": "ks",
    "table": "tbl"
  }
}

Response

PrimedQuery

Example response

{
  "when": {
    "query": "SELECT * FROM tbl"
  },
  "then": {
    "result": "already_exists",
    "message": "The table already exists",
    "keyspace": "ks",
    "table": "tbl"
  }
}