shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/query <<EOF { "query" : "FOR i IN 1..100 FILTER i > 10 LIMIT 2 RETURN i * 3" } EOF HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "error" : false, "code" : 200, "parsed" : true, "collections" : [ ], "bindVars" : [ ], "ast" : [ { "type" : "root", "subNodes" : [ { "type" : "for", "subNodes" : [ { "type" : "variable", "name" : "i", "id" : 0 }, { "type" : "range", "subNodes" : [ { "type" : "value", "value" : 1 }, { "type" : "value", "value" : 100 } ] }, { "type" : "no-op" } ] }, { "type" : "filter", "subNodes" : [ { "type" : "compare >", "subNodes" : [ { "type" : "reference", "name" : "i", "id" : 0 }, { "type" : "value", "value" : 10 } ] } ] }, { "type" : "limit", "subNodes" : [ { "type" : "value", "value" : 0 }, { "type" : "value", "value" : 2 } ] }, { "type" : "return", "subNodes" : [ { "type" : "times", "subNodes" : [ { "type" : "reference", "name" : "i", "id" : 0 }, { "type" : "value", "value" : 3 } ] } ] } ] } ] }