Added REST docs for groups

- Fixes #502