GET api/2.0/files/file/app-{fileId} This function requires authentication

Description

Returns the detailed information about a third-party file with the ID specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID string some text
Example
GET api/2.0/files/file/app-%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

File entry information

Example Response

application/json

{
  "status": 0,
  "response": {
    "Title": "some text",
    "Access": "ReadWrite",
    "Shared": true,
    "CreatedBy": {
      "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
      "DisplayName": "some text",
      "Title": "some text",
      "AvatarSmall": "some text",
      "ProfileUrl": "some text",
      "HasAvatar": true
    },
    "UpdatedBy": {
      "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
      "DisplayName": "some text",
      "Title": "some text",
      "AvatarSmall": "some text",
      "ProfileUrl": "some text",
      "HasAvatar": true
    },
    "ProviderKey": "some text"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Title>some text</Title>
    <Access>ReadWrite</Access>
    <Shared>True</Shared>
    <CreatedBy>
      <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id>
      <DisplayName>some text</DisplayName>
      <Title>some text</Title>
      <AvatarSmall>some text</AvatarSmall>
      <ProfileUrl>some text</ProfileUrl>
      <HasAvatar>True</HasAvatar>
    </CreatedBy>
    <UpdatedBy>
      <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id>
      <DisplayName>some text</DisplayName>
      <Title>some text</Title>
      <AvatarSmall>some text</AvatarSmall>
      <ProfileUrl>some text</ProfileUrl>
      <HasAvatar>True</HasAvatar>
    </UpdatedBy>
    <ProviderKey>some text</ProviderKey>
  </response>
</result>