mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
WebUI: Assign a version to the Web API and allow to get it
New GET methods: * version/api: current API version * version/api_min: min API version supported The API version is an integer and it's returned as plain text. Whenever the API is changed, the api version is increased. Whenever the API is changed in a way that is not backward compatible, api_min is increased.
This commit is contained in:
@@ -81,6 +81,8 @@ private:
|
||||
void action_command_topPrio();
|
||||
void action_command_bottomPrio();
|
||||
void action_command_recheck();
|
||||
void action_version_api();
|
||||
void action_version_api_min();
|
||||
|
||||
typedef void (RequestHandler::*Action)();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user