add REST documentation for principals module

This will be a `BasicGroup` as well