Hi,
I have the need for two things that I don't see how to do with the current
APIs:
1/ I do not know when I call the rest API if I'm still authenticated
In the response I haven't seen a way to know if I'm still authenticated
when I do a request. If I'm not I might get little or zero result but I
usually will still get a response.
What could we do to help on this. Would it be possible to add the logged in
user in the header of the response or in the xml or json returned ? Or did
I miss something.
2/ How can I easily build the URL of an user's photo activated on his
profile ?
Currently I make a request which lists me documents with their author. In
cati's screenshot I should display a thumbnail of the user's photo. However
it seems to be the users photo does not have a fixed name and it wouldn't
be practical to have to make a query for each user to find out the photo.
Could we build a REST or XWiki api that would automatically send the
correct photo. This way just by building the URL we could have the photo of
the user in the mobile app.
Any ideas on this ?
Ludovic
--
Ludovic Dubost
Founder and CEO
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost