Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2014-11-28 05:34:06

stevec
Member
Registered: 2014-11-28
Posts: 9

Downloading original video file

How can I get a working link to download an original video file?  I've tried Downloads.GetLink() with just the assetId, but when I go to the returned URL I get the message "Output format not understood: use JPG, GIF, PNG etc."

Offline

#2 2014-12-02 01:08:22

stevec
Member
Registered: 2014-11-28
Posts: 9

Re: Downloading original video file

I've figured this out, I need to use Downloads.PublishAssetByDownloadSize with a downloadSizeId of 0.  It appears that this feature is not documented.

Now I have another problem, how can I delete the published link once I have downloaded the file?  Or is there a way to set an expiry when I use Downloads.PublishAssetByDownloadSize to do the publish?

Offline

#3 2014-12-05 12:38:43

dominic
Third Light Staff
Registered: 2013-06-06
Posts: 96

Re: Downloading original video file

Hi Steve,

As you've seen, it isn't currently possible to use Downloads.GetLink to get an original video, however this will be supported in the near future.

I'm afraid it isn't currently possible to expire / delete published files over the API.

Dominic

Offline

#4 2014-12-08 02:29:28

stevec
Member
Registered: 2014-11-28
Posts: 9

Re: Downloading original video file

Thanks Dominic.

Any idea what sort of timeframe I'd be looking at for Downloads.GetLink to support original video files?

Offline

#5 2014-12-08 10:20:54

dominic
Third Light Staff
Registered: 2013-06-06
Posts: 96

Re: Downloading original video file

Hi Steve,

It should be in the 6.1.4 RC - I'm not sure when this will be available to you, but probably by early January.

Dominic

Offline

Board footer