gokulakrishnansvm commented on code in PR #7592:
URL: https://github.com/apache/trafficcontrol/pull/7592#discussion_r1242417463


##########
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:
   Sure.



##########
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:
   Sure,



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to