Returns the detailed information about a file with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | number | 1234 |
version
sent in url
|
File version | number | 1234 |
GET api/2.0/files/file/1234 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "version": 1234 }
File information
{ "status": 0, "response": { "FolderId": 1234, "Version": 1234, "VersionGroup": 1234, "ContentLength": "some text", "Mute": true, "ViewUrl": "some text", "WebUrl": "some text", "FileExst": "some text", "Comment": "some text", "ThumbnailUrl": "some text", "LockedBy": "some text", "DenyDownload": true, "DenySharing": true } }