Azure / Azure/Microsoft365R

Add new `ms_drive_item` methods for item version history, analytics, retention labels, etc.

Open
#188 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
368
Forks
58
Avg merge
1h 42m
Merged PRs (30d)
4

Description

I'd be interested in seeing a feature added that allow the retrieval of the version history for a SharePoint item (especially a Word document) when returning the item metadata. This could also be handled as a separate method if that is more appropriate for the package design.

I know how to access the file version history from within Microsoft Word but I had difficulty finding any documentation on how this information can be handled programmatically. I do see that the .NET library has an option for working with document library versions: https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.tools.word.document.documentlibraryversions?view=vsto-2017#microsoft-office-tools-word-document-documentlibraryversions

I also found a couple of references to API endpoints here: https://community.fabric.microsoft.com/t5/Desktop/Getting-version-history-from-SharePoint-document-library/m-p/776338

And here: https://learn.microsoft.com/en-us/answers/questions/1076146/get-version-history-of-a-word-online-document-thro

This may be out of scope for the Microsoft365R package but, if so, I'd still welcome any tips on how to approach this within R. Thanks for the package!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing ms_drive_item methods and the API references linked in the issue. Narrow the request to one supported operation, such as item version history, and define the returned metadata and a testable completion condition; the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.