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/09/12 17:17:40 UTC

[GitHub] [trafficcontrol] rob05c commented on issue #3789: Rewrite /divisions/name/{{name}} to Go

rob05c commented on issue #3789: Rewrite /divisions/name/{{name}} to Go
URL: https://github.com/apache/trafficcontrol/issues/3789#issuecomment-530921498
 
 
   -1 on "deprecating" or removing in any API version, the "/name" endpoints. 
   
   I very, very frequently have the name, but not the ID.
   
   I can't count the number of times I've written client code that has to get every single object, and iterate to find the ID for the name.
   
   If it's possible at some other endpoint e.g. `/divisions?name=foo`, that's fine, I don't care what the syntax is. But it's already too painful to have to use IDs, not to mention the wasted time and network traffic. We need to add more endpoints with the ability to get and post by name, not less.

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