|
@@ -309,7 +309,6 @@ class WorkspaceController(Controller):
|
309
|
309
|
return content
|
310
|
310
|
|
311
|
311
|
@hapic.with_api_doc(tags=[SWAGGER_TAG_WORKSPACE_ENDPOINTS])
|
312
|
|
- @hapic.handle_exception(WorkspacesDoNotMatch, HTTPStatus.BAD_REQUEST)
|
313
|
312
|
@require_workspace_role(UserRoleInWorkspace.READER)
|
314
|
313
|
@hapic.input_path(WorkspaceAndContentIdPathSchema())
|
315
|
314
|
@hapic.output_body(NoContentSchema(), default_http_code=HTTPStatus.FOUND) # nopep8
|