barbican_ui.api package¶
Submodules¶
barbican_ui.api.client module¶
barbican_ui.api.rest_api module¶
-
class
barbican_ui.api.rest_api.
Secret
(**kwargs)[source]¶ Bases:
django.views.generic.base.View
API for retrieving a single Secret
-
url_regex
= 'barbican/secrets/(?P<id>[^/]+)$'¶
-
-
class
barbican_ui.api.rest_api.
Secrets
(**kwargs)[source]¶ Bases:
django.views.generic.base.View
API for Secrets
-
delete
(request, *args, **kw)[source]¶ Delete one or more Secrets by id.
Returns HTTP 204 (no content) on successful deletion.
-
get
(request, *args, **kw)[source]¶ Get a list of the Secrets for a project.
The returned result is an object with property ‘items’ and each item under this is a Secret.
-
url_regex
= 'barbican/secrets/$'¶
-