[REST] Post-Merge overhaul of the REST API

Okay. Set.