add REST documentation for content module

Things like `link` are missing. Perhaps a clearer way of doing this would be to create 3 blocks of REST documentation; 1 for creating a new file, 1 for creating a link and 1 for creating a new collaborative document.