Comments

Edit the body of a comment the connected account posted. Supported on Reddit only.

Reddit keeps the same comment id after an edit. Reddit exposes no API to edit a post title, and a link post has no editable body. To edit a published post's body, use POST /v1/posts/{postId}/edit.

patch/v1/inbox/comments/{postId}/{commentId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/inbox/comments/{postId}/{commentId}
  • Auth: HTTP bearer

Path parameters

postIdstring required
commentIdstring required

Request body

accountIdstring required

The account ID

platform'reddit' required

Only Reddit supports editing a comment

contentstring required

The new comment body

Response

Comment edited

statusstring
commentIdstring
platformstring

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status