get Method

Get the Thumbnails. Returned Thumbnails are ordered from the latest ChangeSet to the oldest.

get(requestContext: AuthorizedClientRequestContext, iModelId: string, size: ThumbnailSize, query: ThumbnailQuery = ...): Promise<Thumbnail[]>

throws Common iModelHub errors

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context.
iModelId string Id of the iModel. See HubIModel.
size ThumbnailSize Size of the thumbnail.
query ThumbnailQuery Optional query object to filter the queried Thumbnails.

Returns - Promise<Thumbnail[]>

Array of Thumbnails of the specified size that match the query.

Defined in

Last Updated: 12 June, 2024