[Building Sakai] Private messages and restful

Francisco Saez francisco.saez.sakai at gmail.com
Mon Jun 23 08:48:30 PDT 2014


Thanks Bryan, that's the first thing I tried. But I'm getting an error
from MessageForumsFilePickerServlet,
because it seems to be called just after the ForumMessageEntityProvider. In
some QA servers this doesn't seem to happen, so what is the solution? How
to disable that servlet to stop handling the requests?


2014-06-23 17:04 GMT+02:00 Bryan Holladay <holladay at longsight.com>:

>  forum_message should get you the private messages data:
>
> /direct/forum_message/private/typeUuid/site/siteId
>
>
> On Mon, Jun 23, 2014 at 9:59 AM, Steve Swinsburg <
> steve.swinsburg at gmail.com> wrote:
>
>> IIRC, the forums entity provider only does forums, not private messages.
>> What you are seeing in the JSON response is just a parameter of one of the
>> objects being serialised.
>>
>>
>> On Mon, Jun 23, 2014 at 7:32 PM, Francisco Saez <
>> francisco.saez.sakai at gmail.com> wrote:
>>
>>> Sorry about coming back with this but,
>>>
>>> ¿anyone knows if there is any plan to give REST support for private
>>> messages? Because actual services seem to support only forums, or I'm wrong?
>>>
>>> I'm using sakai 10...
>>>
>>> Thanks
>>>
>>>
>>> 2014-06-17 10:25 GMT+02:00 Francisco Saez <
>>> francisco.saez.sakai at gmail.com>:
>>>
>>> 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"
>>>>>>
>>>>>
>>>>
>>>
>>
>> _______________________________________________
>> 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/20140623/8e60641d/attachment.html 


More information about the sakai-dev mailing list