- /**
- * Retrieve version number.
- *
- * @ApiDoc()
- *
- * @return JsonResponse
- */
- public function getVersionAction()
- {
- $version = $this->container->getParameter('wallabag_core.version');
-
- $json = $this->get('serializer')->serialize($version, 'json');
-
- return (new JsonResponse())->setJson($json);
- }
-