updateVersionMetadata

Function

Updates the specified version's metadata

Parameters

Parameter Type Default Notes
id Required string
versionMetadata Required IVersionMetadata
owner Required string
requestOptions Required IHubUserRequestOptions

Available requestOptions

Property Type Notes
authentication ArcGISIdentityManager
fetch Optional Inherited function(input: RequestInfo, init: RequestInit) : Promise<Response>

The implementation of fetch to use. Defaults to a global fetch.

hubApiUrl Optional Inherited string
isPortal Optional Inherited boolean
portalSelf Optional Inherited IHubRequestOptionsPortalSelf

Returns

Promise<IVersionMetadata>
Property Type Notes
created number

The created timestamp

creator string

The username of the creator

id string

The id of the version

path string

The full path to the version

updated number

The updated timestamp

access Optional string

The access level of the version resource

description Optional string

The description of the version

name Optional string

The name of the version

parent Optional string

The parent version id

size Optional number

The size of the version resource


Function defined in common/src/versioning/updateVersionMetadata.ts:21