Skip to content

Function: findObjectTypeAttributes() ​

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

Defined in: src/assetsServer/api/objectTypes.ts:108

Find all object type attributes for this object type.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ excludeParentAttributes?: string; id: string; includeChildren?: string; includeValueExist?: string; onlyValueEditable?: string; orderByName?: string; orderByRequired?: string; query?: string; }-
parameters.excludeParentAttributes?stringShould the response exclude parent attributes.
parameters.id?stringThe ID of the object type to retrieve attributes for.
parameters.includeChildren?stringShould the response include child attributes.
parameters.includeValueExist?stringShould the response only include attributes where attribute values exists.
parameters.onlyValueEditable?stringShould the response only include attributes where only the value is editable.
parameters.orderByName?stringShould the response be ordered by name.
parameters.orderByRequired?stringShould the response be ordered by the number of required attributes.
parameters.query?stringFilter attributes that start with the query.
options?RequestOptions-

Returns ​

Promise<object[]>