3.3.5.1.12 GetShareUrl

Gets a URI to the file that is suitable for sharing with other users.<74>

HTTP Verb: POST

URI: HTTP://server/<...>/wopi*/files/<id>?access_token=<token>

The request message for this operation contains the following HTTP headers.

Request header

Usage

Value

X-WOPI-Override

A string specifying the requested operation from the WOPI server. Required.

The string "GET_SHARE_URL".

X-WOPI-UrlType

A string indicating what share URL type to return. Required.

A string.

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

501

Unsupported