add REST documentation for content module

We might need to turn `Revision` into a union model