Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Microsoft Graph MS Word API?

Question

Are there actually any Graph API endpoints for the Office 365 version of Word at the moment?

(And, if not, are they planned?)

Where I've looked

I've found the documentation for Excel API in Graph, Outlook API in Graph, OneNote API in Graph, but I cannot find any mention of a Word API.

There's no mention of Word in the Productivity section of Graph Overview Official docs.

And there's no sign of it in the Graph Explorer Samples:

Graph Explorer Samples list

And there don't seem to be any sub-projects related to Word in the Microsoft Graph GitHub repo.

Side notes

This question asks a similar thing about the Office 365 API. I'm not sure if the Graph API is a rebranding of the Office 365 API, which now seems to be end of life according to the official docs?

Ultimately what we're looking for is a replacement for the Office PIAs that we can use from an Azure hosted web app to build Word documents. We've been using Open XML, but we need dynamic page numbering which OpenXML doesn't support.

like image 208
tomRedox Avatar asked Sep 06 '18 09:09

tomRedox


1 Answers

As of today there is no Word API available under the Microsoft Graph other than managing the file and it's permissions when it's seating in SharePoint/OneDrive for Business.
There is a UserVoice entry supporting the idea.
There used to be APIs provided by Office Online Server/Office Web Apps but I don't think it fits your scenario.
So as you're pointing today the only ways to modify a word document via an API that are available seem to be the interop assemblies, the Office Add-Ins SDK or third party APIs.

like image 158
baywet Avatar answered Oct 22 '22 07:10

baywet