GET api/2.0/files/{fileId}/properties This function requires authentication

Description

Returns file properties of the specified file.

Parameters
Name Description Type Example
fileId
sent in url
File ID number 1234
Example
GET api/2.0/files/1234/properties
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

File properties

Example Response

application/json

{
  "status": 0,
  "response": {
    "FormFilling": {
      "CollectFillForm": true,
      "ToFolderId": "some text",
      "ToFolderPath": "some text",
      "CreateFolderTitle": "some text",
      "CreateFileMask": "some text"
    }
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <FormFilling>
      <CollectFillForm>True</CollectFillForm>
      <ToFolderId>some text</ToFolderId>
      <ToFolderPath>some text</ToFolderPath>
      <CreateFolderTitle>some text</CreateFolderTitle>
      <CreateFileMask>some text</CreateFileMask>
    </FormFilling>
  </response>
</result>