Skip to content

Service update.checker.service

syl edited this page Oct 25, 2020 · 9 revisions

Description

This services checks if a new version of the API is available. If yes, it will tell the frontend to display a popup where you can download the new version.

Functional scheme

API

get_update_status

Signature

[[nodiscard]] nlohmann::json get_update_status() const noexcept;

Description

Returns a JSON object with the following structure:

rpc_code: unsigned short
current_version: char*