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 2019/11/25 18:10:07 UTC

[GitHub] [trafficcontrol] jhg03a edited a comment on issue #2872: RFE: Add supported API versions API

jhg03a edited a comment on issue #2872: RFE: Add supported API versions API
URL: https://github.com/apache/trafficcontrol/issues/2872#issuecomment-558273654
 
 
   As a developer, I'd like to see something like the following:
   ```
   [{
   		"method": "GET",
   		"endpoint": "/api/1.1/asns"
   	},
   	{
   		"method": "GET",
   		"endpoint": "/api/1.1/asns/*"
   	},
   	{
   		"method": "DELETE",
   		"endpoint": "/api/1.1/cachegroupparameters/*/*"
   	}
   ]
   ```
   In response to an unversioned endpoint: `/available_api`.  Specifically, I'd use a simple wildcard wherever a variable substitution exists because it's sufficient without being over-complicated. 

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


With regards,
Apache Git Services