GET api/wopi/files/{name}?access_token={access_token}

Returns the metadata about an office document

Request Information

Parameters

NameDescriptionAdditional information
name
filename

Define this parameter in the request URI.

access_token
access token generated for this server

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",
  "SupportsUpdate": true,
  "UserCanWrite": true,
  "SupportsLocks": true
}

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>
  <SupportsLocks>true</SupportsLocks>
  <SupportsUpdate>true</SupportsUpdate>
  <UserCanWrite>true</UserCanWrite>
  <Version>sample string 5</Version>
</CheckFileInfo>