parameters: (self,request, *args, **kwargs)
docstring: :param request: /api/project/document/upload
          :param args:
          :param kwargs:
          :return:
function: def post(self,request, *args, **kwargs):
          '''
  
          :param request: /api/project/document/upload
          :param args:
          :param kwargs:
          :return:
          '''
          file = request.FILES['file']
          message = DocumentService.cache_upload_document(file, request.user)
          if message['cache_key'] != "":
              return response.Response(
                  {'file_id': message["cache_key"], 'url': WEB_HOST + '/api/project/document/download_file/' + str(message['cache_key'])})
          else:
              return response.Response(status=status.HTTP_417_EXPECTATION_FAILED)
function_tokens: def post ( self , request , * args , * * kwargs ) : file = request . FILES [ 'file' ] message = DocumentService . cache_upload_document ( file , request . user ) if message [ 'cache_key' ] != "" : return response . Response ( { 'file_id' : message [ "cache_key" ] , 'url' : WEB_HOST + '/api/project/document/download_file/' + str ( message [ 'cache_key' ] ) } ) else : return response . Response ( status = status . HTTP_417_EXPECTATION_FAILED )