Newer Version Available

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

Related Questions (Beta)

Get questions related to the context question.

This release contains a beta version of related questions, 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 related questions in the Community Implementation group in the Success Community.

Note

Resource
1/chatter/feed-elements/feedElementId/related-posts
1/connect/communities/communityId/chatter/feed-elements/feedElementId/related-posts
In version 37.0 and later, feedElementId must be a question ID.
Available version
37.0
Requires Chatter
Yes
HTTP methods
GET
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
filter String Specifies the related question type. Values are:
  • Answered—Related questions that have at least one answer.
  • BestAnswer—Related questions that have a best answer.
  • Generic—All types of related questions, including answered, with a best answer, and unanswered.
  • Unanswered—Related questions that don’t have answers.
Optional

If not specified, Generic is the default value.

37.0
maxResults Integer The maximum number of results to return. You can return up to 25 results; 5 is the default. Optional

If not specified, 5 is the default value.

37.0
Response body for GET
Related Feed Post Collection (Beta)

Each related feed post has a score indicating how closely it’s related to the context feed post. We return related feed posts sorted by score, with the highest score first.