<p></p>
<p dir="auto">Well sure the data is available (which is all the API being able to fetch it proved) but we put limits on that API call - we don't just allow people to fetch a user's entire edit history because of the cost of doing that.</p>
<p dir="auto">Talking about the API is irrelevant anyway because the server code doesn't use the API or parse XML to do things like this, it just executes <code class="notranslate">current_user.changesets.sum(:num_changes)</code> but that will turn into something like:</p>
<div class="highlight highlight-source-sql" dir="auto"><pre class="notranslate"><span class="pl-k">SELECT</span> <span class="pl-c1">SUM</span>(<span class="pl-s"><span class="pl-pds">"</span>changesets<span class="pl-pds">"</span></span>.<span class="pl-s"><span class="pl-pds">"</span>num_changes<span class="pl-pds">"</span></span>) <span class="pl-k">FROM</span> <span class="pl-s"><span class="pl-pds">"</span>changesets<span class="pl-pds">"</span></span> <span class="pl-k">WHERE</span> <span class="pl-s"><span class="pl-pds">"</span>changesets<span class="pl-pds">"</span></span>.<span class="pl-s"><span class="pl-pds">"</span>user_id<span class="pl-pds">"</span></span> <span class="pl-k">=</span> $<span class="pl-c1">1</span></pre></div>
<p dir="auto">which forces the database to read all the changeset records for the user.</p>
<p dir="auto">I doubt the edit link uses that API call either - why would iD care about your previous changesets?</p>
<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/4319#issuecomment-1784794983">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNGIXARF7MOY5FEZQTYB5XDDAVCNFSM6AAAAAA6VBWHDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUG44TIOJYGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNKTUNWQBGFHKI4JKLYB5XDDA5CNFSM6AAAAAA6VBWHDWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTKMHHWO.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/4319/c1784794983</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/4319#issuecomment-1784794983",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4319#issuecomment-1784794983",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>