web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow - Get version His...
Power Automate
Unanswered

Flow - Get version History Document Library

(0) ShareShare
ReportReport
Posted on by

Good Afternoon 

 

I am trying to retrieve Version Details on a document library.  I have seen multiple post on how to retrieve it in List but with the current List URI - it returns the details, but the Comments is not unique to the last record, and applies it to all. 

 

I have noted that instead of using Lists in Sending an HTTP Request to SharePoint I should use relative path. 

 

<TENANT>/sites/<SITE>/_api/web/lists/GetByTitle('<LISTNAME>')/items(<ID>)/Versions

 I am currently using the following URI,  with no luck.  Any possibly help 

 

 

Sn3l_1-1692937115497.png

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @Sn3l,

     

    Actually, you should be able use that original approach for document libraries as well.

     

    In that original approach for Lists you referred to you can replace the ListName by your LibraryName in the GetByTitle method, that should also work. Under the hood a Document Library is also a SP.List object with just a different BaseTemplate, 101.

     

    Can you try the below

     

     

    _api/web/lists/GetByTitle('Document Draft')/items(@{variables('ID')})/Versions

     

     

     

    documentdraft.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard