curl \
-X GET \
http://localhost/keyspace \
-H 'Content-Type: application/json'
curl \
-X GET \
http://localhost/table?keyspace=abc \
-H 'Content-Type: application/json'
curl \
-X GET \
http://localhost/row?table=ca.abc&limit=5&token_key=a&next_token=Serenity \
-H 'Content-Type: application/json'
curl \
-X POST \
http://localhost/rowtoken \
-H 'Content-Type: application/json' \
-d '{"table":"table_name", "item":"{field1:value1, field2:value2}", "prevnext": "next", "pagesize": 10}'
curl \
-X POST \
http://localhost/query \
-H 'Content-Type: application/json' \
-d '{"query":"cql query"}'
curl \
-X POST \
http://localhost/save \
-H 'Content-Type: application/json' \
-d '{"table":"table_name", "item":"{field1:value1, field2:value2}"}'
curl \
-X GET \
http://localhost/describe?table=ca.abc
-H 'Content-Type: application/json' \
curl \
-X GET \
http://localhost/columns \
-H 'Content-Type: application/json' \
-d '{"keyspace":"system_auth", "table":"roles"}'
curl \
-X POST \
http://localhost/delete \
-H 'Content-Type: application/json' \
-d '{"table":"table_name", "item":"{field1:value1, field2:value2}"}'
order_by array[object{name:columns_name,order:asc | desc}] only clustering key and by order |
curl \
-X POST \
http://localhost/find \
-H 'Content-Type: application/json' \
-d '{"table":"tablename","item":{"order_id":{"operator":"=","value":"123"},"order_time":{"operator":"=","value":"456"}}, "page": 1, "pagesize": 10}'
curl \
-X POST \
http://localhost/export?table=keyspace.table \
-H 'Content-Type: application/json' \
curl \
-X POST \
http://localhost/import \
-F "table=keyspace.table" \
-F "filecomment=This is an image file" \
-F "file=@/home/user/Desktop/importfile" \
curl \
-X POST \
http://localhost/truncate \
-H 'Content-Type: application/json' \
-d '{"table":"table_name"}'