Skip to content

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 ​

ParameterTypeDescription
clientClient-
parameters{ attachments: | AttachmentInput | AttachmentInput[]; objectId: string; }-
parameters.attachments| AttachmentInput | AttachmentInput[]-
parameters.objectId?stringThe object ID
options?RequestOptions-

Returns ​

Promise<object[]>