Start a conversation

Ghost Edit Ideas

Overview


Information

/idea/{idea_id}.json?ghostEdit=true

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.

Sample Request

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

Sample Response

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.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments