跳到主要内容

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

Conversion result

Schema
    idstringnullable

    Operation ID

    Example: 9846
    Operation object
    oneOf
    string

    [Move - Move, Copy - Copy, Delete - Delete, Download - Download, MarkAsRead - MarkAsRead, Import - Import, Convert - Convert, Duplicate - Duplicate]

    Possible values: [Move, Copy, Delete, Download, MarkAsRead, Import, Convert, Duplicate]

    Example: Move
    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

Authorization: asc_auth_key

name: asc_auth_keytype: apiKeyscopes: read,writein: cookie
curl -L '/api/2.0/files/file/:fileId/checkconversion' \
-H 'Accept: application/json'
Request Collapse all
Base URL
Auth
Parameters
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!