WIP records: REST API addition

It is not stupid :smile: , i will change it, thanks Guillaume :smile: