4 Replies Latest reply on Dec 3, 2012 1:12 AM by sfaust

    Reading DirectMessages via ContentService

      Hi,

       

      as I've got from the ContentService API docs (v3) any Content Types like discussion, document, file etc can be read using /contents REST path.

      At least when authenticated as Admin user, that seems to work fine (also for hidden/private content). Only DirectMessages seem not to be visible in the response. Even if I try:

       

      http://mozart-jivesoftware.jivesbs.com/api/core/v3/contents?filter=type(dm)

       

      no DirectMessages are returned but instead

       

      throw 'allowIllegalResourceCall is false.';

      {"error":{"message":"Invalid filter expression type(dm)","status":400}}

       

      Is there a way to get DirectMessages beeing returned by a ContentService/contents call? Am i doing something wrong?

       

      Thanks, Simon