Newer Version Available

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

Edit a Question Title and Post

Edit a question title and post.
Resource
/chatter/feed-elements/feedElementId
HTTP method
PATCH
Request body
Feed Item Input

This Feed Item Input request body includes a body property that is a Message Body Input request body. In this example, the Message Body Input request body includes a messageSegments property that has one Message Segment Input: Text request body.

This Feed Item Input request body also includes a capabilities property that is a Feed Element Capabilities Input request body. In this example, the Feed Element Capabilities Input includes a questionAndAnswers property that is a Question and Answers Capability Input request body.

Request body example
1{
2   "body":{
3      "messageSegments":[
4         {
5            "type":"Text",
6            "text":"The latest public versions are on developer.salesforce.com."
7         }
8      ]
9   },
10   "capabilities":{
11      "questionAndAnswers" : {
12          "questionTitle" : "Where can I find API documentation"
13      }
14   }
15}
Returns
Feed Item