Related Questions

Get questions related to the context question.
Resource
/chatter/feed-elements/feedElementId/related-posts
/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

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.