namespace Wallabag\AnnotationBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
-use Nelmio\ApiDocBundle\Annotation\ApiDoc;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
*/
public function getAnnotationsAction(Entry $entry)
{
-
$this->validateAuthentication();
$annotationRows = $this
*/
public function putAnnotationAction(Annotation $annotation, Request $request)
{
-
$this->validateAuthentication();
$data = json_decode($request->getContent(), true);
*/
public function deleteAnnotationAction(Annotation $annotation)
{
-
$this->validateAuthentication();
$em = $this->getDoctrine()->getManager();