(self, request: Request, workspace_id: str, application_id: str)
| 286 | @log(menu='Application', operate='Publishing an application', |
| 287 | get_operation_object=lambda r, k: get_application_operation_object(k.get('application_id'))) |
| 288 | def put(self, request: Request, workspace_id: str, application_id: str): |
| 289 | return result.success( |
| 290 | ApplicationOperateSerializer( |
| 291 | data={'application_id': application_id, 'user_id': request.user.id, |
| 292 | 'workspace_id': workspace_id, }).publish(request.data)) |
| 293 | |
| 294 | class StoreApplication(APIView): |
| 295 | authentication_classes = [TokenAuth] |
nothing calls this directly
no test coverage detected