]> git.sur5r.net Git - bacula/docs/commitdiff
baculum: Add error codes to the chapter about config Bacula resources
authorMarcin Haba <marcin.haba@bacula.pl>
Wed, 15 Nov 2017 21:21:50 +0000 (22:21 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Wed, 15 Nov 2017 21:21:50 +0000 (22:21 +0100)
docs/manuals/en/console/baculum.tex

index da22a50af3ce0c8f9782e77116440425a184edc3..35f940cccb7ffe718f39d9beb3c36ee919fb48b2 100644 (file)
@@ -971,6 +971,31 @@ PUT /api/config/sd/Device/Drive-01 - editing device 'Drive-01'. If
 * - required field
 \end{verbatim}
 
+Errors:
+
+0 - No errors.
+
+6 - Problem with authorization to Baculum API.
+
+7 - Access attempt to not allowed resource. Permission denied.
+
+80 - JSON tools support is disabled.
+
+81 - Problem with connection to a JSON tool.
+
+82 - JSON tool returned wrong exitcode.
+
+83 - JSON tool output was unable to parse.
+
+84 - JSON tool not configured.
+
+93 - Write to config file error.
+
+94 - Config validation error.
+
+1000 - Internal error.\\
+
+
 Example cURL commands to test:
 
 \begin{verbatim}