Check download status for a variant
GET
/api/v1/download/{variantId}/status
const url = 'http://localhost:8080/api/v1/download/1/status';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/download/1/statusParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” variantId
required
integer format: int64
Responses
Section titled “ Responses ”OK
Media type */*
object
status
string
filepath
string
error
string
totalSegments
integer format: int32
downloadedSegments
integer format: int32
totalBytes
integer format: int64
expectedTotalBytes
integer format: int64