add REST documentation for principals module

I think this should be `BasicGroup`