Skip to main content
Take the content the online editor has written

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Headers

X-WOPI-Lock
string

A string provided by the WOPI client that the host must use to identify the lock on the file

X-WOPI-Override
string

Which operation the call stands for. PUT is the only one this endpoint serves; anything else is refused as not implemented.

Path Parameters

file_id
string
required

Hash of the file being written.

Query Parameters

access_token
string

Token the call is authorized with.

Body

application/octet-stream

The new content of the file, sent as the raw request body.

Response

The content was stored.