Ghost Edit Questions

When you specify this query param, edited questions will be ghost edits. Edits will not bump to the top of the queue and not update the avatar or last action thread on list views.

/question/{question_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 question.

-u answerhub:test123
-H "Accept: application/json"
-H "Content-type: application/json"
-X PUT -d '{"body":"help me,confused about the ghost edit"}'  "https://apidocs.cloud.answerhub.com/services/v2/question/974.json?ghostEdit=true" -v

Successful Response will return a 204 - No Content HTTP Status and there won't be an object in the response body and you will see the changes in the community UI for the specific edited question.
For this example, we changed the body from "testing testing testing" to "help me, confused about the ghost edit". You can see the changes in the revisions list.

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!