Database API documentation version v10
http://server:port/activeviam/database/rest/v10
Home
This document describes the REST API of Database.
Note: the root URL provided here will depend of the deployment of your application.
/branches
API to create, update permissions and delete branches. This can only be used to manage the branches and not the data on the branches.
Create a new branch by doing an empty commit on a new branch without any data change. The new branch is a fork identical to the parent branch. The permissions can also be set on creation.
Update the security of a branch. Permissions can be a user name, a role or the constant string __ALL_USERS__ for all users. Requires to be owner of the branch.
Delete a branch. Requires to be owner of the branch.
Fast-forward a branch to another one. The fast-forwarded branch is moved to the target head. It can only be done if the target has been forked from the branch and no new commit happened on the branch since. This requires owner permissions on the branch that is fast-forwarded and read permissions on the target.
/data
API to retrieve or update data.
API to access query features of the database.
Retrieve rows from the selected table, with the given query parameters. This does not support conditions, use the POST API for that.
Retrieve rows from the selected table, with the given parameters in json format
API update the content of the database (add, update, remove).
Update a table on a specific branch. This requires to be owner of the branch and the permission to update the fields or insert/delete in the table.
/discovery
API to access discovery features of the database
Get the description of all the tables in the database visible to the current user.
API to access size of the database.
Retrieve size of the selected table.
Get the description of all the branches. Only shows branches where the current user has read permissions.
Get the separator used to concatenate the elements of a field path into a String