<p dir="auto">Declares <code class="notranslate">versions</code> resources with <code class="notranslate">show</code> action on these API paths: <code class="notranslate">node/:id/:version</code>, <code class="notranslate">way/:id/:version</code>, <code class="notranslate">relation/:id/:version</code>.</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/5641'>https://github.com/openstreetmap/openstreetmap-website/pull/5641</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/commits/f2ed3c1935610e0409a78c9d4d77b82513048fb4" class="commit-link">f2ed3c1</a>  Make api old element show paths resourceful</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files">12 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/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/5641/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/5641/files#diff-739114b998da8b3c6627439f6d9f3d658ef04f1c1733ca411cbbb4dbd4f410d4">app/controllers/api/old_ways_controller.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-aacc53664ba2734a78d9a1e3cb342b65e7ceec2b823509eb50384d78196e4324">app/views/old_elements/_actions.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-7ee3168144cba950374d481967d27d39db360d6dfb366aa9033b42f32cb98256">test/controllers/api/old_nodes_controller_test.rb</a>
    (62)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-8e8190e84ed61c4b7d4457b6d491daae4fbe436431cd5985b364592d52271c68">test/controllers/api/old_relations_controller_test.rb</a>
    (86)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-1d1ef6db64a5caea6f9e55e4038ed133a740c05263a5863c797fbfe26adc533e">test/controllers/api/old_ways_controller_test.rb</a>
    (58)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-da8c6d0ce9e50a5d0d4517cb17a60cc0df2f286b573ea8132fd903ad8c227237">test/controllers/api/relations_controller_test.rb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-7d6a1fd4b66d6d5889edff2abba5c9532806a85a399adcf30a54d90f17a0ce71">test/controllers/old_nodes_controller_test.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-2d036f37d3be755f748d43fc87df5ab0761ba872bed9e12b9fe001c62053d760">test/controllers/old_relations_controller_test.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5641/files#diff-d14579d9c1ef8dc82a2944bf60965e25d593ec1d4b1132256228eaf629ddbca1">test/controllers/old_ways_controller_test.rb</a>
    (12)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5641.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5641.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5641.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5641.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/5641">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLONE5O4TRPUBGVG3AL2O7QJ5AVCNFSM6AAAAABWZKNHEOVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DCMBSGMYDOOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMDQ2C6NQNH2DF6Z4D2O7QJ5A5CNFSM6AAAAABWZKNHEOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKSVUSM4.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/5641</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/5641",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5641",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>