ChangeSetHandler Class

Beta

Handler for managing ChangeSets. Use IModelClient.ChangeSets to get an instance of this class. In most cases, you should use IModelDb methods instead.

Methods

Name Description
create(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, changeSet: ChangeSet, path: string, progressCallback?: (progress: ProgressInfo) => void): Promise<ChangeSet> Upload a ChangeSet file.  
download(requestContext: AuthorizedClientRequestContext, changeSets: ChangeSet[], path: string, progressCallback?: (progress: ProgressInfo) => void): Promise<void> Download the specified ChangeSets.  
get(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, query: ChangeSetQuery = new ChangeSetQuery()): Promise<ChangeSet[]> Get the ChangeSets for the iModel.  

Defined in

Last Updated: 20 September, 2019