The request context
The main differences between the new endpoints and the objects returned by controllers in previous versions of ArangoDB are:
body
,queryParam
andpathParam
now take position arguments instead of an object. For specifics see the endpoint documentation.
New:
router.use(function (req, res, next) {
if (!req.arangoUser) {
next();
});