<p dir="auto">Follows <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2825761316" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5591" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5591/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5591">#5591</a>.</p>
<p dir="auto">Renames <code class="notranslate">delete</code> actions to standard <code class="notranslate">destroy</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/5617'>https://github.com/openstreetmap/openstreetmap-website/pull/5617</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/3b0be171b9193c9939252f3e60a685dd1aa0af13" class="commit-link">3b0be17</a>  Make api show/update/destroy node actions resourceful</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/35fc840b41d1257fe3560af777c291a2852ac749" class="commit-link">35fc840</a>  Make api show/update/destroy way actions resourceful</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/18f65b78ebe02d96861991880056c7abb07c299e" class="commit-link">18f65b7</a>  Make api show/update/destroy relation actions resourceful</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/9ef7f3a2e7290af197230ee9a1c1241820d3613c" class="commit-link">9ef7f3a</a>  Move api element show and full tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/0c893e91970da4ac70e77de435c4906ab260b855" class="commit-link">0c893e9</a>  Split api relation show/full tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/cc2677ff241b20b853ca4b5eae9627904028db0e" class="commit-link">cc2677f</a>  Split api way show test</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/b1dbcad484bab9c655a665b5407494366b52fdd9" class="commit-link">b1dbcad</a>  Split api node show test</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/cee07eee09fdd2493e999b5b8d8eec73f5f05894" class="commit-link">cee07ee</a>  Test if api relation show/full responses contain required elements</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/commits/e837727d9544c178eabd79fe2e8f37d039ccd7c5" class="commit-link">e837727</a>  Test Last-Modified header of api show element responses</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files">8 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-341a1cf4f83cf00816b397c262181cd7b229f1c0e9210ba57dcef3f9609c1b74">app/abilities/api_ability.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-73fe5812764d31443ba0d43f028e68aa17963e92fe69d79f72957f5ac1a176b9">app/controllers/api/nodes_controller.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-49b8b506dea5e046c47e71134ed6d1c4ca794559572895c26b1df469ceda868d">app/controllers/api/relations_controller.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-eb50706672183bce46654d5a373c3df75906a65a3ae5055a16ba0d8d2005ca37">app/controllers/api/ways_controller.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-8a9c95ea5b86d8f52f78210e2ff053062ca9a234754dff890fb8aae45343ff4c">test/controllers/api/nodes_controller_test.rb</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-da8c6d0ce9e50a5d0d4517cb17a60cc0df2f286b573ea8132fd903ad8c227237">test/controllers/api/relations_controller_test.rb</a>
    (115)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5617/files#diff-ffae22d15753b266411f4613c7a78242cfd5a5ab95aad3484ce9728179a76334">test/controllers/api/ways_controller_test.rb</a>
    (60)
  </li>
</ul>

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