You are not logged in.
HI ,
I have a requirement from client to restrict the image resolution to 256*256 , when ever thirdparties tries to down load image using link supplied to them by Downloads.GetMultiLink API.
Following is syntax iam using through postman:
{
"apiVersion": "1.0.1",
"sessionId": "XXXXXXX",
"action": "Downloads.GetMultiLink",
"inParams": {
"assetIds": [
"40813251296","40813250490","40813250573","40865291481","40813252718","40865290754"
]
}
}
I have masked session id.
Could you please suggest a options in this regards.
Regards,
Tilak
Offline
Hi Tilak,
You can provide the same settings to GetMultiLink() as you can to GetLink(). i.e. add a settings hash as follows:
{
"apiVersion": "1.0.1",
"sessionId": "XXXXXXX",
"action": "Downloads.GetMultiLink",
"inParams": {
"assetIds": [
"40813251296","40813250490","40813250573","40865291481","40813252718","40865290754"
],
"settings": {
"settingKey": <settingValue>,
etc.
}
}
}
Replacing settingKey and settingValue with one or more of the settings described under GetLink().
The Downloads.GetMultiLink() and Downlaods.GetLink() API calls ultimately provide a "File Fetch URL" for a particular file. The options are described in more detail here:
https://www.thirdlight.com/docs/display … ile+to+URL
hth
Ben
Offline
Thanks Ben
Issue got resolved, using you suggestion
Regards,
Tilak
Offline