getNodes Method
Retrieves nodes
getNodes(requestOptions: Paged<HierarchyRequestOptions<IModelConnection>>, parentKey?: NodeKey): Promise<Node[]>
Parameter | Type | Description |
---|---|---|
requestOptions | Paged<HierarchyRequestOptions<IModelConnection>> | options for the request |
parentKey | NodeKey | Key of the parent node if requesting for child nodes |
Returns - A promise object that returns either an array of nodes on success or an error string on error.
Defined in
Last Updated: 08 January, 2020