shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF { "type" : "hash", "unique" : false, "sparse" : true, "fields" : [ "a" ] } EOF HTTP/1.1 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "deduplicate" : true, "fields" : [ "a" ], "id" : "products/105288", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : true, "type" : "hash", "unique" : false, "error" : false, "code" : 201 }