Documentation / ConvertRetrieve a task status of each conversion task
Returning an information about the AVIF conversion operation requested by the user.Request
curl -x GET
https://avif-service-api.kokoon.cloud/avif/convert/tasks/{id}
-H "Authorization: <api_key>"
-H "Accept: application/json"
List of request parameters
Parameter name | Type | Description |
---|
id | string | conversion id |
Response
{
"id": "835f24b0-90be-11ed-b598-cbb34621d6d4",
"filename": "test1.jpg",
"step": "finish"
}
List of response parameters
Response field | Type | Description |
---|
id | string | conversion id |
filename | string | The filename of original image |
step | wait, finish, convert, upload | Indicates the conversion progress. wait, finish, convert, upload |
Response error
Error name | Status | Description |
---|
Not found | 404 | This error occurs when there is no conversion corresponding to the requested conversion id. |