access to the database via REST calls