As the download and stream is implemented as a httphandler, it is a bit different than the other endpoints. The url can be constructed in the following way
http(s)://damurl.com/dmm3bwsv3/{assetid}_{mediaformatid}_{destinationid}_{assettype}_{outputIdent}_{filmstripId}_{accessKey}_{download boolean}_{extension of mediaformat}
the explanation of the ids are as follows
Name | Description |
---|---|
assetid | this is the id of the asset in Digizuite |
mediaformatid | the format in which the asset is transcoded is defined in Digizuite. This id corresponds to such a format |
destinationid | this implies where the file should be downloaded from. These IDs are accessible in Digizuite under System tools/Destinations |
assetype | determines the type of the asset. UseĀ GetAssetTypes to get a list of all available asset types |
outputident | Enum that determines how the file should be output. 11 is default preview (used for stream) and 44 is download |
filmstripid | ?? |
accessKey | The accessKey that grants access to the api |
Download boolean | True = file downloaded and False = file is returned as a stream |
Extension of mediaformat | This should be set to whatever the mediaformat is setup to create (i.e. jpg, if the output of the format is a jpg file) |