How to get version history of google doc using appscript.

Hello all, I need your expertise for a small task on which I am currently stuck.

I want to get the version history details, like last changes made date and who made those changes using appscript for google doc. I am unable to find a way through which I can get these details for google doc.

I appreciate any help. Thank you