dneuman64 commented on a change in pull request #2684: python lib updated to
api v1.3
URL: https://github.com/apache/trafficcontrol/pull/2684#discussion_r210430773
##########
File path: traffic_control/clients/python/trafficops/trafficops/tosession.py
##########
@@ -590,18 +590,18 @@ def update_server_by_id(self, server_id=None, data=None):
:rtype: Tuple[Union[Dict[Text, Any], List[Dict[Text, Any]]],
requests.Response]
:raises: Union[trafficops.restapi.LoginError,
trafficops.restapi.OperationError]
"""
- @restapi.api_request(u'put', u'servers/{server_id:d}/status', (u'1.1',
u'1.2',))
+ @restapi.api_request(u'put', u'servers/{server_id:d}/status', (u'1.1',
u'1.2', u'1.3',))
def update_server_status_by_id(self, server_id=None, data=None):
"""
Update server_status by Id.
:param server_id: The server Id
:type server_id: int
- :status:
https://trafficcontrol.apache.org/docs/latest/development/traffic_ops_api/v12/server.html
+ :status:
https://trafficcontrol.incubator.apache.org/docs/latest/development/traffic_ops_api/v12/server.html
Review comment:
https://traffic-control-cdn.readthedocs.io/en/latest/api/v12/server.html
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services