Edits the comment specified as the path param. Replaces the comment with the text provided in the request body.
With each edit, the version number is incremented by 1. The comment metadata includes timestamps for creation and last update, along with the author of each change. If a reply is added to a resolved thread, the thread automatically changes to an unresolved state.
OK
{- "data": {
- "body": "an edited comment"
}
}
{- "response": {
- "node": "pricefx-cluster-app-frontend-6cbbff95d-th6wz",
- "data": [
- {
- "version": 2,
- "typedId": "2.CMTRD",
- "relatedObjects": [
- "KpOpdPpPhm8IQL1"
], - "comments": [
- {
- "version": 1,
- "typedId": "2.CMNT",
- "body": "an edited comment",
- "createDate": "2025-02-28T11:02:57",
- "createdBy": 2147490696,
- "lastUpdateDate": "2025-02-28T11:03:12",
- "lastUpdateBy": 2147490696
}
], - "resolved": false,
- "createDate": "2025-02-28T11:02:57",
- "createdBy": 2147490696,
- "lastUpdateDate": "2025-02-28T11:03:12",
- "lastUpdateBy": 2147490696
}
], - "status": 0
}
}