add REST documentation for principals module

`locale` is missing here