From: Marcin Haba Date: Wed, 15 Nov 2017 21:21:50 +0000 (+0100) Subject: baculum: Add error codes to the chapter about config Bacula resources X-Git-Tag: Release-9.0.6~1 X-Git-Url: https://git.sur5r.net/?p=bacula%2Fdocs;a=commitdiff_plain;h=4d51c4fb6df2b85682143757d99369f08cfec6a8 baculum: Add error codes to the chapter about config Bacula resources --- diff --git a/docs/manuals/en/console/baculum.tex b/docs/manuals/en/console/baculum.tex index da22a50a..35f940cc 100644 --- a/docs/manuals/en/console/baculum.tex +++ b/docs/manuals/en/console/baculum.tex @@ -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}