I'm trying to get the export links to a specific revision of a pdf file. I have the correct file id and revision id and when I try to get the export links using Revision.Get() ,link :https://developers.google.com/drive/api/v3/reference/revisions/get?authuser=1. It does not give me the export links.
I noticed that if the file id is of MIME type:"application/vnd.google-apps.document" it will give the export links but when I try the same with a file MIME type of "application/pdf", the export link is empty. I have searched all over and gone through the documentation but I couldn't find anything that will give me export links for files whose MIME types are pdf.
Could someone please help. For better reference I have added a side by side comparison of 2 file responses when executing the revision.Get(), the one on the left is of MIME type "application/vnd.google-apps.document" and the one on right is "application/pdf"