I'm having trouble finding out how to upload attachments using the RESTful api.
I've looked at the attachment type in the schema
(
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rest/src/main/…)
but I cant find any mention of how to link the actual attachment data.
Also none of the xml resource representations are loading, I keep getting 404 errors:
http://www.xwiki.org/rel/attachmentDatahttp://www.xwiki.org/rel/attachments
Can anyone provide any tips on how to upload an attachment to a page using the restful
api?
Thanks,
Radek Rekas