Ghost Edit Articles

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

/article/{article_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 example request is changing the topics and the body of the article.

-u answerhub:test123
-H "Accept: application/json"
-H "Content-type: application/json"
-X PUT -d '{"topics":"confused, editing, testing","body":"I am confused about ghost edits"}'"https://apidocs.cloud.answerhub.com/services/v2/article/976.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 ghost edit" to "I am confused about ghost edits". You can see this change in the revisions list.

Query Params
boolean
Defaults to true
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json