[DOC] Add endpoint to all sections in rest.md.