MetadataApi | @here/olp-sdk-ts
Namespace MetadataApi
Index
Functions
get Changes
Parameters
builder: RequestBuilder
params: { additionalFields?: string[]; billingTag?: string; endVersion?: number; layerId: string; range?: string; sinceTime?: number; startVersion?: number }
Optional additional
Fields?: string[] Optional billing
Tag?: string Optional end
Version?: number layer
Id: string Optional range?: string
Optional since
Time?: number Optional start
Version?: number
Returns Promise<MetadataApi.Partitions>
get Layer Versions
Returns information about layer versions for the catalog version. It will return an error if the catalog does not have any versions or if the version passed in the query parameter does not exist. If a layer does not have any data for the requested version it is excluded from the response.
Parameters
builder: RequestBuilder
params: { billingTag?: string; version: number }
Optional billing
Tag?: string version: number
Returns Promise<LayerVersions>
get Partitions
Gets the metadata for all partitions in a specific layer.
Parameters
builder: RequestBuilder
params: { additionalFields?: string[]; billingTag?: string; layerId: string; range?: string; version?: number }
Optional additional
Fields?: string[] Optional billing
Tag?: string layer
Id: string Optional range?: string
Optional version?: number
Returns Promise<MetadataApi.Partitions>
latest Version
Returns information about the latest version for the given catalog. If the catalog doesn't contain any versions a 404 will be returned.
Parameters
builder: RequestBuilder
params: { billingTag?: string; startVersion: number }
Optional billing
Tag?: string start
Version: number
Returns Promise<VersionResponse>
list Versions
Returns information about specific catalog version(s). If the catalog doesn't contain any versions 404 will be returned. Maximum number of versions to be returned per call is 1000 versions. If requested range is bigger than 1000 versions 400 Bad Request will be returned
Parameters
builder: RequestBuilder
params: { billingTag?: string; endVersion: number; startVersion: number }
Optional billing
Tag?: string end
Version: number start
Version: number
Returns Promise<VersionInfos>
minimum Version
Returns minimum version for the given catalog. If the catalog doesn't contain any versions 404 will be returned.
Parameters
builder: RequestBuilder
params: { billingTag?: string }
Optional billing
Tag?: string
Returns Promise<VersionResponse>
Generated using TypeDoc
Gets the latest partition metadata in a version range for a versioned layer or a time range for a volatile layer. For versioned layers the range is expressed as a start and end version and might not return all changes for the partitions which were added and removed in between the specified start and end versions.
Gets changes for the version range.