CDB-3106 API endpoint ready and tested manually
Merge branch 'CDB-2891' of https://github.com/CartoDB/cartodb into CDB-2891