Newer Version Available

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

Feed Elements Capability, Status (Beta)

Access the status capability of a feed element or set the status of a feed element.

This release contains a beta version of the pre-moderation feature, which means it’s a high-quality feature with known limitations. This feature isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features. You can provide feedback and suggestions for this feature in the Community Implementation group in the Success Community.

Note

Only users with the “Can Approve Feed Post” permission can set the status of a feed element.

Resource
1/chatter/feed-elements/feedElementId/capabilities/status
1/connect/communities/communityId/chatter/feed-elements/feedElementId/capabilities/status
Available version
37.0
Requires Chatter
Yes
HTTP methods
GET, HEAD, PATCH
Response body for GET
Status Capability (Beta)

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

Request body for PATCH
Root XML tag
statusCapability
JSON example
1{
2   "feedEntityStatus":"Published"
3}
Properties
Name Type Description Required or Optional Available Version
feedEntityStatus String Specifies the status of the feed item. Values are:
  • PendingReview—The feed item isn’t approved yet and therefore isn’t published or visible.
  • Published—The feed item is approved and visible.
In version 37.0, you can’t change a Published feed item to PendingReview.
Required 37.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
feedEntityStatus String Specifies the status of the feed item. Values are:
  • PendingReview—The feed item isn’t approved yet and therefore isn’t published or visible.
  • Published—The feed item is approved and visible.
In version 37.0, you can’t change a Published feed item to PendingReview.
Required 37.0
Response body for PATCH
Status Capability (Beta)