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

Announcements

News and Announcements icon
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,851 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard