Newer Version Available

This content describes an older version of this product. View Latest

Comment Capability, Verified

Get the verified status of a comment. Mark a comment as verified or unverified.
Resource

The commentId must be the ID of a comment on a question post. Only one comment on a question post can be marked as verified.

Available version
41.0
Requires Chatter
Yes
HTTP methods
GET, PATCH
Request body for PATCH
Root XML tag
<verifiedCapability>
JSON example
Properties
Name Type Description Required or Optional Available Version
isVerified Boolean Specifies whether to mark the comment as verified (true) or unverified (false).

Only verified comments can be marked as unverified, and only unverified comments can be marked as verified.

Required 41.0
isVerifiedBy​Anonymized Boolean Specifies whether to mark the comment as verified by an anonymous user (true).

If a user previously verified a comment and then requested the activity to be deleted, use isVerifiedByAnonymized to maintain the verification and anonymize the value of lastVerifiedByUser.

You can’t set isVerified and isVerifiedByAnonymized to true at the same time. isVerifiedByAnonymized can be set to true only if isVerified is already set to true.

You can’t set isVerifiedByAnonymized to false. After isVerifiedByAnonymized is set to true, it can be undone only when another user marks the comment as unverified and then reverifies the comment.

Optional 43.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
isVerified Boolean Specifies whether to mark the comment as verified (true) or unverified (false).

Only verified comments can be marked as unverified, and only unverified comments can be marked as verified.

Required 41.0
isVerifiedBy​Anonymized Boolean Specifies whether to mark the comment as verified by an anonymous user (true).

If a user previously verified a comment and then requested the activity to be deleted, use isVerifiedByAnonymized to maintain the verification and anonymize the value of lastVerifiedByUser.

You can’t set isVerified and isVerifiedByAnonymized to true at the same time. isVerifiedByAnonymized can be set to true only if isVerified is already set to true.

You can’t set isVerifiedByAnonymized to false. After isVerifiedByAnonymized is set to true, it can be undone only when another user marks the comment as unverified and then reverifies the comment.

Optional 43.0
Response body for GET and PATCH
Verified Capability

If the comment doesn’t support this capability, the response is 404: Not Found.