def METHOD_NAME(self):
    if not self.check_required_parameters():
        return self.get_error_output(), 400
    if addon_id := self.get_addon_id():
        if version := self.get_update(addon_id):
            contents = self.get_success_output(version)
        else:
            contents = self.get_no_updates_output()
    else:
        contents = self.get_error_output()
    return contents, 200