Overview
Information
Permissions & Notes:
- You must have the new permission called Hide moderator edit under Moderation Roles in the Advanced Editor, to grant moderators the opportunity to see the checkbox to hide their edits in the community UI.
This sample request is changing the body of the idea.
- cURL
-u answerhub:test123
-H "Accept: application/json"
-H "Content-type: application/json"
-X PUT -d '{"body":"this has been changed via API"}'"https://apidocs.cloud.answerhub.com/services/v2/idea/975.json?ghostEdit=true"-v
-u answerhub:test123
-H "Accept: application/json"
-H "Content-type: application/json"
-X PUT -d '{"body":"this has been changed via API"}'"https://apidocs.cloud.answerhub.com/services/v2/idea/975.json?ghostEdit=true"-v
Successful Response will result in a 204 - No Content HTTP Status and will not return a JSON Object in the response body. You can see the change in the community UI.
For this example, we changed the body from "testing testing testing" to "this has been changed via API". You can see this change in the revisions list.
Priyanka Bhotika
Comments