
Announcements
I am trying the extract the Comments entered each time a file is Checked-In. While I am able to all of the past version information using the following, the Comments are not included. What is returned in the "OData__x005f_ModerationComments" for each version is the last comment that was entered and not the comment specifically entered for that version.
Step used to get to the Version History:
Document Version History as displayed in SharePoint
Output of the HTTP Request to extract the Version History. Please note the Comments are incorrect. The comment for the last version 3.12 is associated with each Version. This is the "OData__x005f_ModerationComments" data field in the Output.
@ALBordelon refer to this post https://sharepoint.stackexchange.com/questions/276668/get-comments-of-previous-versions-checked-in-in-sharepoint-online-using-rest-api it talks about the same issue that you are facing.