Skip to content

Function: getComments() ​

ts
function getComments(
   client, 
   parameters, 
   options?
): Promise<object[]>;

Defined in: src/assetsServer/api/comments.ts:36

Get the comments for an object by object ID.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ asc?: string; objectId: string; }-
parameters.asc?stringWhether to sort ascending
parameters.objectId?stringThe ID of the object
options?RequestOptions-

Returns ​

Promise<object[]>