Function: addAttachments()
ts
function addAttachments(
client,
parameters,
options?
): Promise<object[]>;Defined in: src/assetsServer/api/attachments.ts:26
Add an attachment to an object by object ID.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { attachments: | AttachmentInput | AttachmentInput[]; objectId: string; } | - |
parameters.attachments | | AttachmentInput | AttachmentInput[] | - |
parameters.objectId? | string | The object ID |
options? | RequestOptions | - |
Returns
Promise<object[]>