updateVersion
Updates the specified version with with the state of the supplied model throws an exception if the version is stale and force is not true
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| model Required | IModel | ||
| version Required | IVersion | ||
| requestOptions Required | IHubUserRequestOptions | ||
| force Optional | boolean |
Available requestOptions
| Property | Type | Notes |
|---|---|---|
| ArcGISIdentityManager | ||
| Optional Inherited | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
| Optional Inherited | string |
This is for server-side usage only, not for front-end use. |
| Optional Inherited | string | |
| Optional Inherited | boolean | |
| Optional Inherited | IHubRequestOptionsPortalSelf |
Returns
Function defined in packages/common/src/versioning/updateVersion.ts:38