[ [ 'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationSeenCreate', 'verb' => RouteVerb::SET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::CREATE, 'state' => PermissionCategory::NOTIFICATION, ], ], ], '^.*/notification(\?.*|$)' => [ [ 'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationsGet', 'verb' => RouteVerb::GET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::READ, 'state' => PermissionCategory::NOTIFICATION, ], ], ], ];