shell> curl --header 'accept: application/json' --dump - http://localhost:8529/_api/index/products/0
HTTP/1.1 OK
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"fields" : [
"_key"
],
"id" : "products/0",
"name" : "primary",
"sparse" : false,
"type" : "primary",
"unique" : true,
"error" : false,
"code" : 200
}