GET api/Files/Get?name={name}&access_token={access_token}
Required for WOPI interface - on initial view
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
name | file name |
Define this parameter in the request URI. |
access_token | token that WOPI server will know |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "BaseFileName": "sample string 1", "OwnerId": "sample string 2", "Size": 3, "SHA256": "sample string 4", "Version": "sample string 5" }
application/xml, text/xml
Sample:
<CheckFileInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainWeb.Models"> <BaseFileName>sample string 1</BaseFileName> <OwnerId>sample string 2</OwnerId> <SHA256>sample string 4</SHA256> <Size>3</Size> <Version>sample string 5</Version> </CheckFileInfo>