2 Replies Latest reply on Feb 2, 2016 2:48 PM by afinlay

    Advice required - trying to create an abuse report using REST API

    webtech

      Hi I want to write a script so that content that meets certain criteria gets put in the moderation queue automatically.

       

      I plan to do this using REST API but although I can create posts, like them etc. I can't see to get the abuseReports functionality to work.

       

      The example below suggests it should be straightforward but when I try it against our Jive instance I get a 404 not found error

       

      curl -X POST -u USER -H "Content-Type: application/json" --data '{ type: "abuseReport", message: "Content is not appropriate", category: "General Abuse" }' http://example.jiveon.com/api/core/v3/contents/123/abuseReports

       

      As I say I can create content and like it so not sure what's going on?

       

      Regards

      Rhodri