shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF
{
"name" : "testCollectionUsers",
"keyOptions" : {
"type" : "autoincrement",
"increment" : 5,
"allowUserKeys" : true
}
}
EOF
HTTP/1.1 OK
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"error" : false,
"code" : 200,
"type" : 2,
"status" : 3,
"statusString" : "loaded",
"id" : "69111",
"waitForSync" : false,
"objectId" : "69110",
"cacheEnabled" : false,
"isSystem" : false,
"globallyUniqueId" : "h34D5FCD00B2F/69111",
"keyOptions" : {
"allowUserKeys" : true,
"type" : "autoincrement",
"offset" : 0,
"increment" : 5,
"lastValue" : 0
},
"name" : "testCollectionUsers"
}