3 ms·
Random thought, but would it make sense to give each client a unique base path for URL endpoints and let them instantiate new endpoints with different versions?
by faitswulff 9y ago
Random thought, but would it make sense to give each client a unique base path for URL endpoints and let them instantiate new endpoints with different versions?
Ex:
mysite.com/api/UUID_for_api_v1/cars/1
and
mysite.com/api/UUID_for_api_v2/automobiles/1
- caffeinewriter 9y agoI was just thinking about this. Instead of versioning with an `Accept` header, or with a URL version, why not version off of an upgradable API key?
- TimWolla 9y agoFacebook does this partly: Each “Application” has an associated API version which is the earliest API version that can be accessed (and IIRC the one used implicitly when no version is given inside the route).