<p dir="auto">Declares resources on the following paths: <code class="notranslate">node/:id/history</code>, <code class="notranslate">way/:id/history</code>, <code class="notranslate">relation/:id/history</code>.</p>
<p dir="auto"><code class="notranslate">history</code> action becomes a standard <code class="notranslate">index</code>.</p>
<p dir="auto">They were named "history" and I keep this name in paths, but later I'll have to refer to each item in "history", and how do you name such item? Probably "version". Then a collection of these items is "versions", that's why I'm calling the resources "versions".</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/5638'>https://github.com/openstreetmap/openstreetmap-website/pull/5638</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/commits/98af87d1cbe59650bf4880c2e5d46a34230dc11e" class="commit-link">98af87d</a>  Convert api element history actions to versions resources</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files">16 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-341a1cf4f83cf00816b397c262181cd7b229f1c0e9210ba57dcef3f9609c1b74">app/abilities/api_ability.rb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-9ef14ff2327785a0570c617732af322ddb45c3d931599b137e90fdf411dd9fd3">app/controllers/api/old_elements_controller.rb</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-5c915480248573e6b15e3cda7cd7f941a88b941a4554397f001c6dcfe72178f5">app/controllers/api/old_nodes_controller.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-3fd28d91bfe2d275c9c82c5adec3bf67a339fafbccb5a40fd26c7390d0f16ac1">app/controllers/api/old_relations_controller.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-739114b998da8b3c6627439f6d9f3d658ef04f1c1733ca411cbbb4dbd4f410d4">app/controllers/api/old_ways_controller.rb</a>
    (2)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-50fcf139c69b115b1bc32f37b665a28f4c8a7b5e5c7aa400319229719aaf4b27">app/views/api/old_nodes/index.json.jbuilder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-e52ea4276e0ec04a54269fcb3563ddb55dcf2daa93a0c1abdc48bf883ba6fe9c">app/views/api/old_nodes/index.xml.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-27dca650b5ecd4f5e1a9afe5fbbe553f66ed6639056c7c2470d0f7f08f6120b8">app/views/api/old_relations/index.json.jbuilder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-420e3bc74a9fa50015b99d0d9678be4fa4bfd14917a27985bb6ad39017713e17">app/views/api/old_relations/index.xml.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-efc45acbc0fa9239f77327cfa7fd86ccda5670ab607767f6c41f0fb79a8c7171">app/views/api/old_ways/index.json.jbuilder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-99b6e974425409ae58239cbb78ce8b58947b353c7d65f40a15505d6746603a54">app/views/api/old_ways/index.xml.builder</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-97aa64e267966e82aa0ea456e7a0bcc24c05415f90007ce626c596a97db44433">app/views/old_elements/index.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-7ee3168144cba950374d481967d27d39db360d6dfb366aa9033b42f32cb98256">test/controllers/api/old_nodes_controller_test.rb</a>
    (89)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-8e8190e84ed61c4b7d4457b6d491daae4fbe436431cd5985b364592d52271c68">test/controllers/api/old_relations_controller_test.rb</a>
    (90)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638/files#diff-1d1ef6db64a5caea6f9e55e4038ed133a740c05263a5863c797fbfe26adc533e">test/controllers/api/old_ways_controller_test.rb</a>
    (97)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5638.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5638.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5638.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5638.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5638">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPBHKADQPRMQTCFC532O6A4TAVCNFSM6AAAAABWY75TTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DAOBQGEZDINY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLN2W2CUUD5ETM3Q7T2O6A4TA5CNFSM6AAAAABWY75TTGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKSUZP34.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5638</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5638",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5638",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>