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 2018/11/07 17:09:09 UTC

[GitHub] ocket8888 commented on issue #2872: RFE: Add supported API versions API

ocket8888 commented on issue #2872: RFE: Add supported API versions API
URL: https://github.com/apache/trafficcontrol/issues/2872#issuecomment-436700863
 
 
   I'm considering writing a new access method for the `/api` endpoint, using `OPTIONS` that would return a list of all supported methods and endpoints separated by newlines e.g.
   ```
   GET /api/1.1/ping
   GET /api/1.1/cdns
   PUT /api/1.1/cdns
   POST /api/1.1/cdns
   DELETE /api/1.1/cdns
   ⋮
   GET /api/1.2/ping
   GET /api/1.2/cdns
   PUT /api/1.2/cdns
   POST /api/1.2/cdns
   DELETE /api/1.2/cdns
   ```
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services