API for all devices using Symfony 2.