Forum Discussion

tripp-bishop's avatar
12 years ago

Getting message subscription info for post via REST

We have a custom UI for creating forum posts and we're using the an endpoint to create/edit these posts. We're just using the standard messages/id/edit and /boards/id/my-board-id/messages/post calls ...
  • AdamN's avatar
    AdamN
    12 years ago

    The types for a subscription are: bookmark, float, email. So that could be why your call is failing.

     

    If you're subscribing the user to the thread instead of an individual message, try getting a ThreadSubscriptionContext instead:

    /restapi/vc/threads/id/83400/subscriptions

     For example:

    /restapi/vc/threads/id/83400/subscriptions/users/self/type/email