function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ian SerfatyIan Serfaty 

How to get activity (comments, chatter, etc.) on a opportunity

I wish to get the activity related to an Opportunity. However, looking at the REST API ( I cannot find a way to do so.

The following entities may be related: Note, ChatterActivity and OpportunityFeed, however i can't find how they are linked to Opportunities. 

Help is appreciated!
They are all linked to Opportunities by ParentId.