add REST documentation for content module

@stuartf Can you check on the `file` type. As noted above, it's working on the demo site but not on our's