]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Tweak increase API client version
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 7 Mar 2021 03:18:23 +0000 (04:18 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 7 Mar 2021 12:06:24 +0000 (13:06 +0100)
gui/baculum/protected/Web/Class/BaculumAPIClient.php

index b81f7943b433c0de59b33f2c3b44cadf9ce064dd..9f139367a672622ce1682131dc5f7a4c40303570 100644 (file)
@@ -40,9 +40,10 @@ class BaculumAPIClient extends WebModule {
         * API client version (used in HTTP header)
         *
         * 0.2 -
-        * 0.3 - sending config as json instead of serialized array
+        * 0.3 - sending config as JSON instead of serialized array
+        * 0.4 - sending POST and PUT requests body parameters as JSON instead of POST form params
         */
-       const API_CLIENT_VERSION = 0.3;
+       const API_CLIENT_VERSION = 0.4;
 
        /**
         * API version used by Web