1 Reply Latest reply on Apr 7, 2018 2:19 AM by calvinschroeder

    Issue with Jive abuseReport API

    jez.ahl

      Hello

       

      Hoping someone can help with this?

      I'm trying to employ the API to automatically moderate content in our Jive 9.0.3 environment

       

      While I can comment on a piece of content, using this call :-

           curl -u admin:<password> -X POST -H "Content-Type: application/json" --data '{ "content": {"type": "text/html", "text": "This is my comment"}, "type": "comment" }' "https://mysite/api/core/v3/contents/404654/comments"

       

      When I try to call the abuseReports endpoint with the following call, I am consistently receiving HTTP 404 error :-

           curl -u admin:<password> -X POST -H "Content-Type: application/json" --data '{ "type": "abuseReport", "message": "Content is not appropriate", "category": "General Abuse" }' "https://mysite/api/core/v3/contents/404654/abuseReports"

           HTTP/1.1 404 Not Found

       

      Can anyone shed any light on what I'm doing wrong?

       

      TIA

       

      Jez