You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/03/13 04:53:01 UTC

[GitHub] [trafficcontrol] tyagian commented on a change in pull request #5611: servers/details endpoint

tyagian commented on a change in pull request #5611:
URL: https://github.com/apache/trafficcontrol/pull/5611#discussion_r593587341



##########
File path: traffic_control/clients/python/trafficops/tosession.py
##########
@@ -1645,6 +1645,15 @@ def get_server_delivery_services(self, server_id=None):
 		:raises: Union[LoginError, OperationError]
 		"""
 
+	@restapi.api_request('get', 'servers/details?hostName={name}', ('3.0','4.0',))
+	def get_server_details(self, name=None):
+		"""
+		Get servers/details
+		:ref: `to-api-servers-details-hostName`

Review comment:
       My mistake. I mentioned in reference to GET request: https://traffic-control-cdn.readthedocs.io/en/latest/api/v4/servers_details.html#to-api-servers-details
   GET /api/4.0/servers/details?hostName but yes, endpoint is servers/details. Updated now. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org