Skip to main content

core.fetchallversionstrings

Home > @medplum/core > fetchAllVersionStrings

fetchAllVersionStrings() function

Fetches the version strings for all published Medplum releases.

Signature:

export declare function fetchAllVersionStrings(appName: string, params?: Record<string, string>): Promise<MedplumSemver[]>;

Parameters

Parameter

Type

Description

appName

string

The name of the app to fetch the release list for.

params

Record<string, string>

(Optional) An optional list of key-value pairs to be appended to the URL query string.

Returns:

Promise<MedplumSemver>

An array of version strings (without the leading v), sorted from newest to oldest.