GraphAPI endpoint to get more history details regarding a document

GSH-1402 45 Reputation points
2023-10-26T03:09:34.7766667+00:00

I am currently using /versions endpoint in GraphAPI to get document edit history related data. Here I get the Modified date and the Name of the person who modified. Is there a way to more additional data regarding the edit history. Specifically,

  1. What kind of an edit (Insert, Delete,..)
  2. Show in history if there are comments or reviews has been done on that Word document.

And lastly is there a way to download this data regarding a document as a PDF.

Thank you very much in advance.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,483 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akash Jadav 85 Reputation points Microsoft Vendor
    2023-12-01T00:25:11.2766667+00:00

    Properties supported in drive items for version details - https://learn.microsoft.com/en-us/graph/api/resources/driveitemversion?view=graph-rest-1.0#:~:text=many%20valid%20requests.-,Properties,-Property

    Downloading version details information into pdf in not supported. We can convert the content of the file to pdf - https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-1.0&tabs=http

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.