Convert

Get convert job results

Returns per-item conversion results with asset IDs once a job is done. If the job is still processing, result_files will be present but items will have "status":"queued" or "status":"processing" — keep polling GET /api/convert/job/{uid} until status is done or partial. Authentication: X-Api-Key header required.

get/api/convert/job/{uid}/results

Request

  • Base URL: https://snapwonders.com
  • URL: https://snapwonders.com/api/convert/job/{uid}/results
  • Auth: API key in header X-Api-Key

Path parameters

uidstring uuid required

Either the upload_uid returned by POST /api/convert/session or the job_uid returned by POST /api/convert/job. Both identify the job.

Response

Job results

upload_uidstring uuid
job_uidstring uuid
status'queued' | 'processing' | 'completed' | 'partial' | 'failed' | 'terminated'

Example response

{
  "result_files": [
    {
      "name": "photo.jpg",
      "output_name": "photo.webp",
      "mime_type": "image/webp"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.