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 - Promise<ChangeSet[]>

ChangeSets that match the query.

Defined in

Last Updated: 13 June, 2024