getAssets Method

Gets the iTwin asset contexts that are accessible to the authorized user.

getAssets(requestContext: AuthorizedClientRequestContext, queryOptions?: RequestQueryOptions): Promise<Asset[]>

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
queryOptions RequestQueryOptions Query options. Use the mapped EC property names in the query strings and not the TypeScript property names.

Returns - Promise<Asset[]>

Resolves to an array of assets.

Defined in

Last Updated: 12 June, 2024