Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get a file.
HTTP Verb: GET
URI: HTTP://server/<...>/wopi*/files/<id>/contents?access_token=<token>
The request message for this operation contains the following HTTP headers.
|
Request header |
Usage |
Value |
|---|---|---|
|
X-WOPI-MaxExpectedSize |
An integer specifying the upper bound of the expected size of the file being requested. Optional. The WOPI server will use the maximum value of a 4-byte integer if this value is not set in the request. |
An integer. |
The response message for this operation can result in the following status codes.
|
Status code |
Description |
|---|---|
|
200 |
Success. |
|
401 |
Token is invalid |
|
404 |
File unknown/User unauthorized. |
|
500 |
Server error. |