WebAPI: Respond with more detailed info

* WebAPI: return error message when endpoint not found
* WebAPI: send appropriate status code when logging in
* WebAPI: return more info when adding torrents

PR #23202.
Closes #375.
Closes #10688.
Closes #10747.
Closes #11464.
This commit is contained in:
Thomas (Tom) Piccirello
2025-09-12 07:53:48 -07:00
committed by GitHub
parent 69b2d7a53e
commit 7ddbf58a3b
8 changed files with 76 additions and 17 deletions

View File

@@ -53,7 +53,7 @@
#include "base/utils/version.h"
#include "api/isessionmanager.h"
inline const Utils::Version<3, 2> API_VERSION {2, 13, 1};
inline const Utils::Version<3, 2> API_VERSION {2, 14, 0};
class APIController;
class AuthController;