Download Creative Files
# Description
Download creative files
# Request Specification
Method: POST + application/json
Endpoint: https://${cloud-domain}/media/download?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| mediaTypeDesc | String | Yes | Fixed value: IMAGE for images, DOCUMENT for files |
| igonreMediaIdConvert | Boolean | Yes | Whether to ignore mediaId conversion; Set to true when mediaId is npath (starting with N_), false otherwise |
| mediaId | String | Yes | Creative ID or file Npath |
# Request Example
{
"mediaTypeDesc": "DOCUMENT",
"mediaId": "MEDIA_ID",
"igonreMediaIdConvert": "true"
}
# Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error Codes Reference |
# Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
# Notes
- Do not use the message field in the response for logical judgments as errorMessage may change;