Get conversion status
GET{baseUrl}/api/2.0/files/file/:fileId/checkconversion
Checks the conversion status of a file with the ID specified in the request.
Request
Path Parameters
fileId int32required
File ID
Query Parameters
start boolean
Specifies if a conversion operation is started or not
Responses
- 200
- 401
Conversion result
- application/json
- Schema
- Example (auto)
Schema
idstringnullable
Operation ID
Example:
9846
Operation object
progressint32
Operation progress
Example:
1234
sourcestringnullable
Source file
Example:
some text
resultnullable
Resulting file
Example:
{"int":1234,"string":"some text","boolean":true}
errorstringnullable
Error
Example:
some text
processedstringnullable
Specifies if the operation is processed or not
Example:
some text
{
"id": "9846",
"Operation": "Move",
"progress": 1234,
"source": "some text",
"result": {
"int": 1234,
"string": "some text",
"boolean": true
},
"error": "some text",
"processed": "some text"
}
Unauthorized
Authorization: asc_auth_key
name: asc_auth_keytype: apiKeyscopes: read,write
in: cookie
- curl
- python
- javascript
- php
- csharp
- java
- CURL
curl -L '/api/2.0/files/file/:fileId/checkconversion' \
-H 'Accept: application/json'
ResponseClear