1
0
Fork 0
arangodb/Documentation/Examples/RestIndexCreateGeoLatitudeL...

21 lines
445 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
{ "type": "geo", "fields" : [ "e", "f" ] }
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1315988950",
"type" : "geo2",
"unique" : false,
"constraint" : false,
"ignoreNull" : false,
"fields" : [
"e",
"f"
],
"isNewlyCreated" : true,
"error" : false,
"code" : 201
}