add REST documentation for content module

Used in principals and following modules; I'll move it to principals