exists #
Checks whether a collection exists.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/<index>/<collection>/_exists Method: GETOther protocols #
{ "index": "<index>", "collection": "<collection>", "controller": "collection", "action": "exists" }Arguments #
collection: collection nameindex: index name
Response #
Returns a boolean telling whether the provided collection exists:
{ "status": 200, "error": null, "index": "<index>", "collection": "<collection>", "controller": "collection", "action": "exists", "requestId": "<unique request identifier>", "result": true }