Forum Discussion
YuriK
11 years agoKhoros Expert
Hey qinglau,
1) In order to change moderation type via rest api, you can make a POST request to the url you were calling to get the settting but with a /set at the end. In your case:
http://kpn.stage.lithium.com/restapi/vc/messages/id/1699/board/settings/name/board.enable_moderation/set
You will also need to send the value that you want to set it to using the "value" post parameter. Take a look here for a description of the call. The valid values for board.enable_moderation are "off", "post", and "pre". Alternatively, you can set the moderation for a board in the "Mod Tools" tab in Admin.
2) You should be able to get all unmoderated messages via the /posts/recent call and passing in moderation.scope=unmoderated query parameter. You can find more information about this call here.
Hope this helps,
Yuri
Related Content
- 2 years ago
- 11 months ago
- 3 years ago
- 2 years ago