Hi,
With REST it’s possible to GET or PUT an attachment file to a page.
Is it possible to do that with the avatar of the user that is also attachment ?
Regards.
Camille Desmots
Hi,
With REST it’s possible to GET or PUT an attachment file to a page.
Is it possible to do that with the avatar of the user that is also attachment ?
Regards.
Camille Desmots
I found.
The URL for the avatar with REST will be :
/rest/wikis/< Your wiki name>/spaces/XWiki/pages/<Your user name>/attachments/<the name of the file>
For example :
rest/wikis/xwiki/spaces/XWiki/pages/cdesmots-ext/attachments/avatar.png
Actually there is two sides:
XWiki.XWikiUsers