Download files from the file storage. Use this endpoint to generate a secure URL which can be used to download your files. An expiration date for the URL can also be specified using the 'expire' filter.
Get the Download object with id video.mp4.
https://jb-sestore.secdn.net/v1/download/video.mp4
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/v1/download/video.mp4
None
{ "path": "video.mp4", "url": "https://example-dl.secdn.net/example-vod/play/sestore4/example/video.mp4?secure=YJfb4E9j9bWJU3uWKDBtfQ&expires=1640908800", "expires": "2021-12-31T00:00:00" }
Create a new Download object.
https://jb-sestore.secdn.net/v1/download
curl -X PUT --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/v1/download
{ "path": "video.mp4", "expires": "2021-12-31T00:00:00" }
{ "path": "video.mp4", "url": "https://example-dl.secdn.net/example-vod/play/sestore4/example/video.mp4?secure=YJfb4E9j9bWJU3uWKDBtfQ&expires=1640908800", "expires": "2021-12-31T00:00:00" }
You cannot update a download endpoint.
You cannot delete a download endpoint.