Rest API in silex to manage resource in open data for resource application