Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
126 lines (93 sloc) 3.05 KB

WOPI REST API Reference

Note

This documentation is a work in progress. Topics marked with a |stub-icon| are placeholders that have not been written yet. You can track the status of these topics through our public documentation issue tracker.

The Web Application Open Platform Interface Protocol (WOPI) defines a set of operations that enables a client to access and change files stored by a server. WOPI is a REST-based protocol. It defines a set of :ref:`REST endpoints<endpoints>` as well as operations that can be executed by issuing HTTP requests to those endpoints.

The WOPI protocol is used by Office applications, such as |wac|, to view and edit files that are stored in a cloud service. Thus, |wac| is a :term:`WOPI client`, while the cloud service that stores the files is a :term:`WOPI server`, often referred to as a host.

This documentation is a reference for all of the defined WOPI operations. However, not all operations must be implemented. WOPI is modular and a WOPI server need only implement the operations required by the WOPI client(s) the server intends to integrate with. To learn more about the specific requirements for integrating with |wac| or |Office iOS Android|, see the sections below:

..  toctree::
    :maxdepth: 2
    :hidden:
    :glob:
    :caption: Microsoft Office WOPI Integrations

    Office Online <https://wopi.readthedocs.io/>
    Office for iOS and Android   <https://wopi.readthedocs.io/projects/officewopi>

..  toctree::
    :maxdepth: 2
    :hidden:
    :glob:
    :caption: Getting Started

    /concepts
    /endpoints
    /common_headers
    /security


..  toctree::
    :maxdepth: 2
    :hidden:
    :glob:
    :caption: File Operations

    /files/CheckFileInfo
    /files/GetFile
    /files/Lock
    /files/GetLock
    /files/RefreshLock
    /files/Unlock
    /files/UnlockAndRelock
    /files/PutFile
    /files/PutRelativeFile
    /files/RenameFile
    /files/DeleteFile
    /files/EnumerateAncestors
    /files/GetShareUrl
    /files/PutUserInfo


..  toctree::
    :maxdepth: 2
    :glob:
    :hidden:
    :caption: Container Operations

    /containers/CheckContainerInfo
    /containers/CreateChildContainer
    /containers/CreateChildFile
    /containers/DeleteContainer
    /containers/EnumerateAncestors
    /containers/EnumerateChildren
    /containers/GetShareUrl
    /containers/RenameContainer


..  toctree::
    :maxdepth: 2
    :glob:
    :hidden:
    :caption: Ecosystem Operations

    /ecosystem/CheckEcosystem
    /files/GetEcosystem
    /containers/GetEcosystem
    /ecosystem/GetFileWopiSrc
    /ecosystem/GetRootContainer


..  toctree::
    :maxdepth: 2
    :glob:
    :hidden:
    :caption: Bootstrapper

    /bootstrapper/Bootstrap
    /bootstrapper/GetNewAccessToken
    /bootstrapper/shortcuts


..  toctree::
    :maxdepth: 2
    :glob:
    :hidden:
    :caption: Reference

    /glossary

You can’t perform that action at this time.