Forum Discussion
Also, in the forthcoming 12.8 release we added some query parameters to NodeMessageContext.recent that might be useful for you. For example, moderation.scope (optional) filters down the recent message view to a smaller set and it takes the value 'Approved','Rejected' and 'Unmoderated'
Example Usage:
http://community.lithium.com/community-name/restapi/vc/posts/recent?moderation.scope=approved&visibility.scope=moderator http://community.lithium.com/community-name/restapi/vc/posts/recent?moderation.scope=rejected&visibility.scope=moderator http://community.lithium.com/community-name/restapi/vc/posts/recent?moderation.scope=unmoderated&visibility.scope=moderator
Jeff,
I need to determine via the rest API if a specific message is in a specific ModerationStatus.
Izabela told me there are 3 states such as "to be moderated", "In moderation" and "Post Moderation".
I checked Lithosphere and docu but can't find any reference - apparently there are some new 12.08 developments in this area. I saw the above and am not sure how the 3 states mentioned : 'Approved','Rejected' or 'Unmoderated' map into what Izabela mentioned.
So my question:
Given a message ID - example : http://liaresponse.stage.lithium.com/restapi/vc/messages/id/2079
How can I find the Moderation state ? What are the valid states?
Thanks
Armin
- ArminP13 years agoLithium Alumni (Retired)
Got the answer from Adam Ayres (you rock)
Example: http://liaresponse.stage.lithium.com/restapi/vc/messages/id/2079/moderation/status
States:
unmoderated
flagged
approved
rejected
uploading
error
unknown
marked_undecided
marked_approved
marked_rejected
Related Content
- 3 years ago
- 2 years ago
- 2 years ago