<p>This will eventually replace the unversioned 'capabilities' call.</p>
<p>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<br>
able to change between versions. If a client only supports one version they can jump straight to the versioned capabilities call.</p>
<p>Additionally, supported versions are now a list of version identifiers, without any implications surrounding min/max values (e.g. guesswork for supported intermediate versions).</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2162.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="415691486" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2162" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/2162/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/2162">#2162</a></p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2280'>https://github.com/openstreetmap/openstreetmap-website/pull/2280</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Add support for an unversioned 'versions' API call</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2280/files#diff-0">app/abilities/api_ability.rb</a>
(1)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2280/files#diff-1">app/controllers/api/versions_controller.rb</a>
(15)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2280/files#diff-2">app/views/api/versions/show.builder</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2280/files#diff-3">config/routes.rb</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2280/files#diff-4">test/controllers/api/versions_controller_test.rb</a>
(34)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2280.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2280.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2280.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2280.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2280?email_source=notifications&email_token=AAK2OLKWRDOBBH7UGURYK23P4N7DRA5CNFSM4H3TD5YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G32TICQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJYIMX52EOENF2URZTP4N7DRANCNFSM4H3TD5YA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLMQBQKL7PT5N2RNB5TP4N7DRA5CNFSM4H3TD5YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G32TICQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2280?email_source=notifications\u0026email_token=AAK2OLKWRDOBBH7UGURYK23P4N7DRA5CNFSM4H3TD5YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G32TICQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2280?email_source=notifications\u0026email_token=AAK2OLKWRDOBBH7UGURYK23P4N7DRA5CNFSM4H3TD5YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G32TICQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>