getAttributes()
Home > @gooddata/sdk-backend-spi > IWorkspaceAttributesService > getAttributes
IWorkspaceAttributesService.getAttributes() method
Gets the list of metadata of attribute with the provided list of uris. (list of object refs)
Signature:
getAttributes(refs: ObjRef[]): Promise<IAttributeMetadataObject[]>;
Parameters
Parameter | Type | Description |
---|---|---|
refs | ObjRef[] | list of refs of the attribute to retrieve. |
Returns:
Promise<IAttributeMetadataObject[]>
promise of list of attribute metadata object.
Remarks
If a display form referenced by any of the refs does not exist, then the call must not fail and instead return only those display forms that exist.