Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sharepoint 365 get all version properties

Status
Not open for further replies.

Susan2068

Programmer
Jul 22, 2016
16
IN
Hi all,

i need to get a specific docuemnt version properties from sharepoint 365

i tried below end point to get the version history


<entry>
<id> <category term="SP.FileVersion" scheme=" />
<link rel="edit" href="SP.FileVersion2aef74b8-6e02-4f10-b482-1b0d4be7eb35" />
<link rel=" type="application/atom+xml;type=entry" title="CreatedBy" href="SP.FileVersion2aef74b8-6e02-4f10-b482-1b0d4be7eb35/CreatedBy" />
<title />
<updated>2019-11-12T12:28:14Z</updated>
<author>
<name />
</author>
<content type="application/xml">
<m:properties>
<d:CheckInComment></d:CheckInComment>
<d:Created m:type="Edm.DateTime">2019-10-04T12:51:03Z</d:Created>
<d:ID m:type="Edm.Int32">512</d:ID>
<d:IsCurrentVersion m:type="Edm.Boolean">false</d:IsCurrentVersion>
<d:Length m:type="Edm.Int64">18847</d:Length>
<d:Size m:type="Edm.Int32">18847</d:Size>
<d:Url>_vti_history/512/<xxx_path_of the file></d:Url>
<d:VersionLabel>1.0</d:VersionLabel>
</m:properties>
</content>
</entry>
<entry>
<id> <category term="SP.FileVersion" scheme=" />
<link rel="edit" href="SP.FileVersion2aef74b8-6e02-4f10-b482-1b0d4be7eb35" />
<link rel=" type="application/atom+xml;type=entry" title="CreatedBy" href="SP.FileVersion2aef74b8-6e02-4f10-b482-1b0d4be7eb35/CreatedBy" />
<title />
<updated>2019-11-12T12:28:14Z</updated>
<author>
<name />
</author>
<content type="application/xml">
<m:properties>
<d:CheckInComment></d:CheckInComment>
<d:Created m:type="Edm.DateTime">2019-10-04T12:51:03Z</d:Created>
<d:ID m:type="Edm.Int32">512</d:ID>
<d:IsCurrentVersion m:type="Edm.Boolean">false</d:IsCurrentVersion>
<d:Length m:type="Edm.Int64">18847</d:Length>
<d:Size m:type="Edm.Int32">18847</d:Size>
<d:Url>_vti_history/512/<xxx_path_of the file></d:Url>
<d:VersionLabel>2.0</d:VersionLabel>
</m:properties>
</content>
</entry>

now i need to get the details/properties of the each version

is there any api to pass the url or version id and (_vti_history/512/<xxx_path_of the file>) and get the specific version details

Please help
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top