[Building Sakai] Private messages and restful

Francisco Saez francisco.saez.sakai at gmail.com
Tue Jun 17 01:25:40 PDT 2014


Ok I think it is my fault because I expected a different result. I'm
looking for a restful service to get private messages (messages received,
sent...). There is anything implemented for that?

I've tried the forums endpoint
(.../direct/forums/site/SITEID/forum/0/topic/TOPICID.json) and I've managed
to get the 'pvt_sent' topic... but there is no info about containing
messages.

Any idea?

Thanks.


2014-06-17 0:24 GMT+02:00 Steve Swinsburg <steve.swinsburg at gmail.com>:

> Are you on sakai 10? Try the forums endpoint instead.
>
> sent from my mobile device
> On 17/06/2014 3:38 AM, "Francisco Saez" <francisco.saez.sakai at gmail.com>
> wrote:
>
>> Hi all,
>> I'm testing the restful services for private messages and I'm getting an
>> strange error.
>>
>> If I look for .../direct/forum_message/private/TYPEUUID/site/SITEID.json,
>> "private" custom action is called and all seems to be fine, but an error is
>> thrown because MessageForumsFilePickerServlet is called immediately after
>> and tries to process the field "private" as a Long.
>>
>> Anyone knows what is happening or how can I stop to call that servlet?
>>
>> Sakai version, 2.9.3
>>
>> Thanks and regards
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140617/263d262c/attachment.html 


More information about the sakai-dev mailing list