get Method

Get the ChangeSets for the iModel.

get(requestContext: AuthorizedClientRequestContext, iModelId: string, query: ChangeSetQuery = ...): Promise<ChangeSet[]>

throws WsgError with WSStatus.InstanceNotFound if InstanceIdQuery.byId is used and a ChangeSet with the specified id could not be found.

throws Common iModelHub errors

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
iModelId string Id of the iModel. See HubIModel.
query ChangeSetQuery Optional query object to filter the queried ChangeSets or select different data from them.

Returns - Promise<ChangeSet[]>

ChangeSets that match the query.

Defined in

Last Updated: 12 June, 2024