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

Description

Checks the conversion status of a file with the ID specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID number 1234
start
sent in body
Specifies if a conversion operation is started or not Bool value true
Example
GET api/2.0/files/file/1234/checkconversion
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "start": true
}
Returns

Conversion result

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Id": "some text",
      "Progress": 1234,
      "Source": "some text",
      "Error": "some text",
      "Processed": "some text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>some text</Id>
    <Progress>1234</Progress>
    <Source>some text</Source>
    <Error>some text</Error>
    <Processed>some text</Processed>
  </response>
</result>