How to get list of all changeSet in particular Stream using RestApi
One answer
Your question in the post title and post body is not the same.
To answer the question: So i want to verify that the particular change set is present in particular stream using rest api.
If you have the change set item id and stream id, then you can locate the change set using the following code:
IWorkspaceManager workspaceManager = SCMPlatform.getWorkspaceManager(repo); ILocateChangeSetsSearchCriteria criteria = ILocateChangeSetsSearchCriteria.FACTORY.create(changeSetHandle, streamHandles, Collections.EMPTY_LIST, Collections.EMPTY_LIST);
List<ILocateChangeSetsSearchResult> result = workspaceManager.locateChangeSets(criteria, monitor);