Get Started
Usage API
More information

GET api/2.0/community/wiki/file/{name} This function requires authentication

Description

Returns the detailed information about a file with the name specified in the request from the wiki 'Files' section.

Parameters
Name Description Type Example
name
sent in url
File name string some text
Example
GET api/2.0/community/wiki/file/some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

File information

Example Response

application/json

{
  "status": 0,
  "response": {
    "name": "File name",
    "updatedBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "updated": "2021-10-27T06:29:16.1333277Z",
    "location": "4\\46\\File name"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <name>File name</name>
    <updatedBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </updatedBy>
    <updated>2021-10-27T06:29:16.1333277Z</updated>
    <location>4\46\File name</location>
  </response>
</result>