API to GET information of all files checked in RTC Eclipse Client into a Stream, based on datetime.
I am developing a RTC Connector where I need the information like file Content (lines of code, method names, etc. from code files), build version information, file Name, file Path, Stream Name, List of Change Set Ids, check-in User name, last Modified / Creation datetime of the files, Repository workspace name, of all the files which the user checked in via the RTC Eclipse Client, based on some datetime range. (Lets say I want to get all the above mentioned information for the check-ins done from the 1st of this month)
Is there any REST api or any other form of API which I can use to GET all the above mentioned information from EWM v7.0.2 for a particular ccm Project?
2 answers
I would suggest to look into the EWM SDK and the Plain Java Client Libraries. See https://rsjazz.wordpress.com/2021/04/23/the-rtc-extensions-workshop-has-been-updated-for-ewm-7-0-x/ as an entry point. Perform at least lab 1 of the Extensions Workshop to get a working development environment.
The blog hosting that link has more example code that you could check. More code can be found in the Jazz Community https://github.com/jazz-community . As an example https://github.com/jazz-community/ewm-scm-utils contains more examples for the SCM API. There are additional projects that might be useful e.g. https://github.com/jazz-community/work-item-command-line with a lot of example code around work items.
You will have to iterate the API to retrieve the information you mention above.