@ubstream/ubstream-node-client-sdk / Exports / IPublicDownloadOptions
Interface: IPublicDownloadOptions
Options of the download.
Hierarchy
IPublicDownloadOptions
↳ IPublicDownloadCollectionsOptions
Table of contents
Properties
Properties
includesFulltext
• Optional
includesFulltext: boolean
includesFulltext : Allows to download media variants fulltext for compatible medias in separated file into the zip archive.
includesMetadata
• Optional
includesMetadata: boolean
includesMetadata : Allows to download media variants metadata in separated file into the zip archive.
lang
• Optional
lang: string
lang : The language ISO code of the requested media. It can also be set through 'accept-language' header.
metadataFormat
• Optional
metadataFormat: PublicDownloadMetadataFormat
metadataFormat : Allows to specify what metadata file format to use ('html', 'json' or 'xml').
metadataStrategy
• Optional
metadataStrategy: PublicDownloadMetadataStrategy
metadataStrategy : Allows to define if one metadata file has to be generated for each media variant. ('byFile' or 'byDirectory').
- byFile : One metadata file will be generated for each media variant.
- byDirectory : One metadata file will be generated for each collection. Each file will contain the media metadata of the collection concerned.
multiLang
• Optional
multiLang: boolean
multiLang : Allows to download all languages variants.
quality
• Optional
quality: PublicDownloadQuality
quality : The files quality can be the original ones or optimized (lower quality)