The identifier of the element within the digital object. This is used to reference the element when retrieving it.
Optional
typeThe MIME type of the element's content. For example, "application/pdf" or "image/jpeg".
Optional
lengthThe length of the element's content in bytes.
Optional
attributesAdditional metadata about the element. This can include information like filename.
Optional
bodyThe binary content of the element as a readable stream. This is typically present when retrieving an element or when creating/updating an element with streaming content. When making a request, ElementWithBody can be used to provide the element bytes using other JavaScript types.
Elements are used to store binary data (like files or attachments) associated with a digital object. Each element has an identifier and can optionally include metadata about the content. When making a request, ElementWithBody can be used to provide the element bytes using other JavaScript types.