WOPI set up requirements for Office for the web integration

A WOPI host doesn't need to implement every WOPI operation. WOPI hosts express their capabilities using properties in CheckFileInfo, such as SupportsLocks. Also, WOPI actions specify the WOPI operations that must be supported in order to use that action, in the form of Action requirements.

But practically speaking, there's a minimum set of operations required to support the two major Office for the web WOPI scenarios - viewing and editing.

Important

While the following lists cover the WOPI operations to be implemented, hosts must also provide file IDs and access tokens as part of a basic WOPI implementation.

View

In order to support viewing documents using Office for the web, WOPI hosts implement:

Important

GetFile must be implemented even if a host is using the FileUrl property.

Edit

In order to support editing documents using Office for the web, WOPI hosts implement: