add REST documentation for principals module

Doesn't seem to be used anymore