Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bacula Community Edition
Bacula Community
Commits
449c01f0
Commit
449c01f0
authored
Dec 09, 2022
by
Marcin Haba
Browse files
baculum: Add documentation for component actions
parent
674ec1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
gui/baculum/protected/API/openapi_baculum.json
View file @
449c01f0
...
...
@@ -6427,6 +6427,55 @@
]
}
},
"/api/v2/actions/{component}/{action}/"
:
{
"get"
:
{
"tags"
:
[
"actions"
],
"summary"
:
"Run Bacula component action"
,
"description"
:
"Run Bacula component action."
,
"responses"
:
{
"200"
:
{
"description"
:
"Run Bacula component action"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"output"
:
{
"type"
:
"string"
},
"error"
:
{
"type"
:
"integer"
,
"description"
:
"Error code"
,
"enum"
:
[
0
,
110
,
111
,
112
,
113
,
1000
]
}
}
}
}
}
}
},
"parameters"
:
[
{
"name"
:
"component"
,
"in"
:
"path"
,
"required"
:
true
,
"description"
:
"Component name: director, storage or client."
,
"schema"
:
{
"type"
:
"string"
}
},
{
"name"
:
"action"
,
"in"
:
"path"
,
"required"
:
true
,
"description"
:
"Component action: start, stop or restart."
,
"schema"
:
{
"type"
:
"string"
}
}
]
}
},
"/api/v2/objects"
:
{
"get"
:
{
"tags"
:
[
"objects"
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment