addAttachments
Attach referenced documents to the asset — datasheets, terms, sample files.
New in DDO v5. Each attachment is a RemoteObject, carrying a checksum and one or more mirrors, so a consumer can verify what they fetched.
Usage
.([
{
: 'datasheet',
: 'pdf',
: 'e3b0c44298fc1c149afbf4c8996fb924...',
: [{ : 'url', : 'https://example.org/datasheet.pdf', : 'GET' }]
}
]) Returns
- Type:
AssetBuilder
The asset builder instance, to chain further calls with.