GET api/2.0/files/file/{fileId}/checkconversion
Checks the conversion status of a file with the ID specified in the request.
Name |
Description |
Type |
Example |
fileId
sent in url
|
File ID
|
`0
|
|
start
sent in body
|
Specifies if a conversion operation is started or not
|
Bool value
|
true
|
GET api/2.0/files/file/{fileid}/checkconversion
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"start": true
}
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>