<p dir="auto">Like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2193962527" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4591" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4591/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4591">#4591</a> etc.</p>
<p dir="auto">One goal was to get rid of explicit <code class="notranslate">id</code> parameters because if I make old elements subresources of current elements, rails would want <code class="notranslate">node_id</code>/<code class="notranslate">way_id</code>/<code class="notranslate">relation_id</code> instead of <code class="notranslate">id</code>. Old element models already have these fields.</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/4641'>https://github.com/openstreetmap/openstreetmap-website/pull/4641</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/commits/352e5de4b99f91be23bb0ef5a248a7a90310ea32" class="commit-link">352e5de</a>  Simplify element multi fetch paths in api tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/commits/ba2eb5205481fb0b90455a0c33ae25dc3f6801d2" class="commit-link">ba2eb52</a>  Simplify element show paths in api tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/commits/0e50ff563e826578f770c82e8c678ef393a3f862" class="commit-link">0e50ff5</a>  Simplify old element show paths in api tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/commits/c073acf5b768ca7fe7be167bdf785e3b0fe05a4d" class="commit-link">c073acf</a>  Simplify element history paths in api tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/commits/2f53c2520dbc6455e5d8db87cc0b673618f09b68" class="commit-link">2f53c25</a>  Simplify redact element paths in api tests</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files">7 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-e95198c7f7744be3ce9857db36d2374538ca7d64caaf0f6f85865d6752563ee9">test/controllers/api/changesets_controller_test.rb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-8a9c95ea5b86d8f52f78210e2ff053062ca9a234754dff890fb8aae45343ff4c">test/controllers/api/nodes_controller_test.rb</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-7ee3168144cba950374d481967d27d39db360d6dfb366aa9033b42f32cb98256">test/controllers/api/old_nodes_controller_test.rb</a>
    (56)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-8e8190e84ed61c4b7d4457b6d491daae4fbe436431cd5985b364592d52271c68">test/controllers/api/old_relations_controller_test.rb</a>
    (42)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-1d1ef6db64a5caea6f9e55e4038ed133a740c05263a5863c797fbfe26adc533e">test/controllers/api/old_ways_controller_test.rb</a>
    (46)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-da8c6d0ce9e50a5d0d4517cb17a60cc0df2f286b573ea8132fd903ad8c227237">test/controllers/api/relations_controller_test.rb</a>
    (50)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4641/files#diff-ffae22d15753b266411f4613c7a78242cfd5a5ab95aad3484ce9728179a76334">test/controllers/api/ways_controller_test.rb</a>
    (14)
  </li>
</ul>

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