Newer Version Available

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

Feed Elements Capability, Read By

Access the read by capability of a feed element. Mark a feed element as read for the context user.
Resource
Available version
40.0
Requires Chatter
Yes
HTTP methods
GET, PATCH
Request body for PATCH
Root XML tag
<readByCapability>
JSON example
Properties
Name Type Description Required or Optional Available Version
isReadByMe Boolean Specifies to mark the feed element as read (true) for the context user. Required 40.0
lastReadDateByMe Date Specifies the last date when the feed element is marked as read for the context user. If you don’t specify a date or you specify a future date, the current system date is used. Optional 40.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
isReadByMe Boolean Specifies to mark the feed element as read (true) for the context user. Required 40.0
Response body for GET and PATCH
Read By Capability

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