ericholguin commented on code in PR #7592: URL: https://github.com/apache/trafficcontrol/pull/7592#discussion_r1242409204
########## traffic_control/clients/python/trafficops/tosession.py: ########## @@ -559,6 +559,31 @@ def get_cdns_domains(self): :rtype: Tuple[Dict[str, Any], requests.Response] :raises: Union[LoginError, OperationError] """ + + # + # CDN Notifications + # + @api_request('get', 'cdn_notifications', ('3.0', '4.0', '4.1', '5.0')) + def get_cdn_notifications(self, query_params=None): + """ + Get all CDN notifications. + :ref:`to-api-cdn-notifications` + :param query_params: See API page for more information on accepted parameters + :type query_params: Dict[str, Any] + :rtype: Tuple[Union[Dict[str, Any], List[Dict[str, Any]]], requests.Response] + :raises: Union[LoginError, OperationError] + """ + + @api_request('post', 'cdn_notifications', ('3.0', '4.0', '4.1', '5.0')) Review Comment: remove 3.0 ########## traffic_control/clients/python/trafficops/tosession.py: ########## @@ -559,6 +559,31 @@ def get_cdns_domains(self): :rtype: Tuple[Dict[str, Any], requests.Response] :raises: Union[LoginError, OperationError] """ + + # + # CDN Notifications + # + @api_request('get', 'cdn_notifications', ('3.0', '4.0', '4.1', '5.0')) Review Comment: remove 3.0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@trafficcontrol.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org