|Required for:||iOS Android|
The GetShareUrl operation returns a Share URL that is suitable for viewing a shared file when launched in a web browser. A host can support multiple Share URL types, as described by the SupportedShareUrlTypes property. The X-WOPI-UrlType request header contains the Share URL type that should be returned.
If the X-WOPI-UrlType header is not present or contains a value that is invalid or not supported by the host, the host should respond with a 501 Not Implemented.
- file_id (string) – A string that specifies a file ID of a file managed by host. This string must be URL safe.
- access_token (string) – An access token that the host will use to determine whether the request is authorized.
- X-WOPI-Override – The string
- X-WOPI-UrlType – A string indicating what Share URL type to return. Required.