Skip to content

Function: loadObject() ​

ts
function loadObject(
   client, 
   parameters, 
   options?
): Promise<AssetObject>;

Defined in: src/assetsServer/api/objects.ts:258

Get an object.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: string; includeAttributes?: string; includeExtendedInfo?: string; xoauth_requestor_id?: string; }-
parameters.idstringThe ID or object key of the object to load.
parameters.includeAttributes?stringShould the attributes be included in the response.
parameters.includeExtendedInfo?stringShould the extended info be included in the response.
parameters.xoauth_requestor_id?string-
options?RequestOptions-

Returns ​

Promise<AssetObject>