Change <> to [] in rest-endpoints.md

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>