[Rest] Example of an api method with FOSRest