checkForUpdates
Check server for namespaces with updates available to download.
Signature:
checkForUpdates(client: Client): Promise<Array<{ Namespace: string; Updates: number }>>Module:
@olenbetong/appframe-updater
Parameters
client: Appframe dataClientinstance.
Behavior
Posts to
/api/ob-deploy/checkForUpdatesand returns a compact list of namespaces where updates are pending.
Returns
Array of
{ Namespace, Updates }objects.
Errors
Throws on HTTP errors or when the response contains an
errorfield.
Example
Last updated
Was this helpful?