An example of api created with symfony 2.5