<p>In <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="502607439" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2383" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2383/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2383">#2383</a>, <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/zerebubuth/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zerebubuth">@zerebubuth</a> proposed to deprecate and remove the /api/0.6/changes endpoint.</p>
<p>From his reasoning: <em>This API call is little-used and IMHO should be deprecated and removed.</em></p>
<p>This pull request removes controller, api_ability, route and test case for this endpoint.</p>
<p>/api/0.6/changes is undocumented at this time and a rather obscure and specialized feature.</p>
<p>One (former?) user I could identify: <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/iandees/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/iandees">@iandees</a> has an 8 years old script out there (<a rel="nofollow" href="https://gist.github.com/iandees/1271803">https://gist.github.com/iandees/1271803</a>) to remove outdated tiles in some TileStache disk cache. Not sure, if this is still in use today?</p>
<p>TODO:</p>
<ul>
<li>Check production log to identify any remaining users of this endpoint</li>
</ul>

<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/2486'>https://github.com/openstreetmap/openstreetmap-website/pull/2486</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Remove /api/0.6/changes endpoint</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2486/files#diff-0">app/abilities/api_ability.rb</a>
    (1)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2486/files#diff-1">app/controllers/api/changes_controller.rb</a>
    (54)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2486/files#diff-2">config/routes.rb</a>
    (2)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2486/files#diff-3">test/controllers/api/changes_controller_test.rb</a>
    (106)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2486.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2486.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2486.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2486.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/2486?email_source=notifications&email_token=AAK2OLKQKZCGHW5PTHTJDL3Q26VCXA5CNFSM4KARMENKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDBWPPA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKYLP2EA573PFMTHQ3Q26VCXANCNFSM4KARMENA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLP5ICKFTVENK3DE6XLQ26VCXA5CNFSM4KARMENKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDBWPPA.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/2486?email_source=notifications\u0026email_token=AAK2OLKQKZCGHW5PTHTJDL3Q26VCXA5CNFSM4KARMENKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDBWPPA",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2486?email_source=notifications\u0026email_token=AAK2OLKQKZCGHW5PTHTJDL3Q26VCXA5CNFSM4KARMENKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDBWPPA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>