code: def put(self, id, project_id=None):
          
          result = db.session.query(Result).filter_by(id=id).first()
          if result is None:
              response = jsonify({
                  'result': None, 'message': 'No interface defined for URL.'
              })
              return response, 404
  
          request_json = request.get_json()
          request_result = request_json.get('result')
  
          name = request_result.get('name', None)
          if name is not None:
              result.name = name
  
          is_unregistered = request_result.get('isUnregistered', None)
          if is_unregistered is not None:
              result.is_unregistered = is_unregistered
  
          db.session.add(result)
          db.session.commit()
  
          return jsonify({'result': result.serialize})
docs: put.