Drupal investigation
toolbar.subtrees: path: '/toolbar/subtrees/{hash}' defaults: _controller: '\Drupal\toolbar\Controller\ToolbarController::subtreesAjax' requirements: _custom_access: '\Drupal\toolbar\Controller\ToolbarController::checkSubTreeAccess'