get Method

Get the ChangeSets for the iModel.

get(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, query: ChangeSetQuery = new 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 GuidString Id of the iModel. See HubIModel.
query ChangeSetQuery Optional query object to filter the queried ChangeSets or select different data from them.

Returns - ChangeSets that match the query.

Defined in

Last Updated: 08 January, 2020