1
0
Fork 0
arangodb/Documentation/Examples.ArangoDB/api-index-create-new-skiplist

19 lines
379 B
Plaintext

> curl --data @- -X POST --dump - http://localhost:8529/_api/index?collection=109061392
{ "type" : "skiplist", "unique" : false, "fields" : [ "a", "b" ] }
HTTP/1.1 201 Created
content-type: application/json
{
"code": 201,
"fields": [
"a",
"b"
],
"id": "109061392/173166777",
"type": "skiplist",
"isNewlyCreated": true,
"unique": false,
"error": false
}