Update rest.md

Removed content other than "Generated REST API" and rejiggered headings.