exists

Since Kuzzle v1.0.0

URL: http://kuzzle:7512/<index>/<collection>/_exists
Method: GET

Query

{
  "index": "<index>",
  "collection": "<collection>",
  "controller": "collection",
  "action": "exists"
}

Response

{
  "status": 200,
  "error": null,
  "index": "<index>",
  "collection": "<collection>",
  "controller": "collection",
  "action": "exists",
  "requestId": "<unique request identifier>",
  "result": true
}

Checks if a collection exists in Kuzzle database storage layer.