<blockquote>
<p>you are essentially making an argument for versioning the representation too.</p>
</blockquote>
<p>No, I'm explaining that the <code>version</code> is the API response version, not a version of the data model. For example, nothing changed in the <code>trace</code> responses when we last changed the API version, but the responses to <code>api/0.6/gpx/nnn</code> are all <code><osm version="0.6"></code> and not 0.4 or 0.3 or whenever that part of the underlying data model changed. So in API 0.7, if they have the same underlying data model, or even the same representation, they will definitely have 0.7 in their responses.</p>
<p>So I'll say it again, the <code>version</code> in the documents indicates the version of the API used, not the version of any underlying data model.</p>
<blockquote>
<p>Up to now the abstract underlying data representation has essentially been documented (if you so want) by the XML representation and has been in lock step with that.</p>
</blockquote>
<p>No, it hasn't. There's been lots of changes to the underlying data model in the last 10 years, none of which have had a change in API version number - because even though the data model has changed, the API request/responses have only changed in backwards compatible ways. For example, we added notes. That was a backwards-incompatible change to the data model (you can't fit notes into a database that doesn't have a table for them, for example) but a backwards-compatible change to the API, hence no version number change.</p>
<blockquote>
<p>And for example it would be -very- surprising if implementing <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="479747839" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2348" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/2348/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/2348">#2348</a> and jacking up the API version</p>
</blockquote>
<p>Nobody has suggested that adding a new backwards-compatible API call needs a new API version - except for you, when you wrote "Without it (this PR) we would have simply added them as a 0.6 feature". So I'm not going to rebut something of your own creation that you are now arguing against.</p>
<p>If you have another example, that would be helpful.</p>
<blockquote>
<p>if the gratious change to the "representation version" hadn't been made.</p>
</blockquote>
<p>I'm not proposing any "gratuitous" changes to the API version. The only reason I'm proposing to change the API version is to allow us to make backwards-incompatible changes that can't otherwise be made. The whole point of this PR is to allow us to run multiple API versions in parallel - it's even in the title! So any tools that can only parse one version can keep using that version. Gratuitous change would be to yank the old version when the new one is deployed, or to bump version numbers for backwards-compatible changes, and I'm proposing neither of those.</p>

<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/2353?email_source=notifications&email_token=AAK2OLODW4TH2AZX4BT56DDQH6WV3A5CNFSM4IOIASA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53POUA#issuecomment-527890256">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLL7K5HNAQC6NIB2GYLQH6WV3ANCNFSM4IOIASAQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLONJ6XKKUS6PI2BIMDQH6WV3A5CNFSM4IOIASA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53POUA.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/2353?email_source=notifications\u0026email_token=AAK2OLODW4TH2AZX4BT56DDQH6WV3A5CNFSM4IOIASA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53POUA#issuecomment-527890256",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2353?email_source=notifications\u0026email_token=AAK2OLODW4TH2AZX4BT56DDQH6WV3A5CNFSM4IOIASA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53POUA#issuecomment-527890256",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>