HTTP API


Method
URL
Description
POST
/api/v1/begin/{database}
Begins a transaction on the server managed as a session. The response header contains the session id. Set this id in the following requests to execute them in the same transaction scope. See also /commit and /rollback.
POST
/api/v1/command/{database}
Executes a non-idempotent command.
POST
/api/v1/commit/{database}
Commits a transaction on the server. Set the session id obtained with the /begin command as a header of the request. See also /begin and /rollback.
POST
/api/v1/create/{database}
Creates a database
GET
/api/v1/databases
Returns the list of databases the current authenticated user can access to.
POST
/api/v1/document/{database}
Creates a new document
GET
/api/v1/document/{database}/{rid}
Returns a document by record id (rid)
POST
/api/v1/drop/{database}
Drops a database
GET
/api/v1/query/{database}
Executes an idempotent commands, like SELECT ad MATCH.
POST
/api/v1/rollback/{database}
Rollbacks a transaction on the server. Set the session id obtained with the /begin command as a header of the request. See also /begin and /commit.
GET
/api/v1/server
Returns the current HA configuration.