searchVersions

Function

Returns an array containing the versions of the specified item

Parameters

Parameter Type Default Notes
id 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.

hubApiKey Optional Inherited string

This is for server-side usage only, not for front-end use.

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

Returns

Promise<IVersionMetadata[]>

Function defined in packages/common/src/versioning/searchVersions.ts:12