[openstreetmap/openstreetmap-website] Add support for an unversioned 'versions' API call (#2280)
notifications at github.com
Wed Jun 26 14:52:40 UTC 2019
This will eventually replace the unversioned 'capabilities' call.
Client applications can use this versions call to find out what versions are available, if they support multiple versions. The capabilities of each version, and the format of the capabilities call, is then
able to change between versions. If a client only supports one version they can jump straight to the versioned capabilities call.
Additionally, supported versions are now a list of version identifiers, without any implications surrounding min/max values (e.g. guesswork for supported intermediate versions).
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Add support for an unversioned 'versions' API call
-- File Changes --
M app/abilities/api_ability.rb (1)
A app/controllers/api/versions_controller.rb (15)
A app/views/api/versions/show.builder (8)
M config/routes.rb (3)
A test/controllers/api/versions_controller_test.rb (34)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev