The request context

    The main differences between the new endpoints and the objects returned by controllers in previous versions of ArangoDB are:

    • body, queryParam and pathParam now take position arguments instead of an object. For specifics see the .

    New:

    1. router.use(function (req, res, next) {
    2. if (!req.arangoUser) {
    3. next();
    4. });