<p dir="auto">Similar to web changeset subscriptions <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2804893894" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5535" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5535/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5535">#5535</a>, but for the api.</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/5801'>https://github.com/openstreetmap/openstreetmap-website/pull/5801</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/commits/1ffc19192e089c4e75d9db7889d08cd67c1322db" class="commit-link">1ffc191</a>  Create api changeset subscription resource</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/commits/e763c82456f76170b0b743d39d3da3d910d38352" class="commit-link">e763c82</a>  Split api changeset subscription tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/commits/d09757edaf6093e413e66bcce2b5989924372b84" class="commit-link">d09757e</a>  Test legacy api changeset subscribe/unsubscribe paths</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/commits/4857c9ad1e172049416f7bb57b2e8951df975d95" class="commit-link">4857c9a</a>  Test end states of api changeset subscriptions</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files">11 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-341a1cf4f83cf00816b397c262181cd7b229f1c0e9210ba57dcef3f9609c1b74">app/abilities/api_ability.rb</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-c19a4013499ba51061a2876186781b78fc21a6de2f6d5cc572a3328034d3729f">app/controllers/api/changeset_subscriptions_controller.rb</a>
    (55)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-6726f8601cd22886963fb41888b55956cae4f8124aa12c701da77c3add44d94c">app/controllers/api/changesets_controller.rb</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-aec5ee436c0046616e31a2d43d527c94d5794fe10e25cc74f76a8b093f932a1b">app/views/api/changeset_subscriptions/create.json.jbuilder</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-e23bd74281092a1494b7a63c72b821e1720e23c90870ed98f38d34e885554779">app/views/api/changeset_subscriptions/create.xml.builder</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-fd5bc900c2e7c15d95ae584c8586b3d03f86991bfb0f459512cb7efe4032d2d7">app/views/api/changeset_subscriptions/destroy.json.jbuilder</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-8c996bd8dfa15982cee49a6e4ae470b7e2115c366c6b5c4cb168d65813fcf2e6">app/views/api/changeset_subscriptions/destroy.xml.builder</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-9a5f2cb48e3a30fd0197d016bd900f26d7183d6714f3a747613c9cbe4a9c8f9d">app/views/changesets/show.html.erb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-1e72a65a7d587b537d0f90c3f44800ce29d9133d452ecd297bd5aee9c64c3dcc">test/controllers/api/changeset_subscriptions_controller_test.rb</a>
    (213)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5801/files#diff-e95198c7f7744be3ce9857db36d2374538ca7d64caaf0f6f85865d6752563ee9">test/controllers/api/changesets_controller_test.rb</a>
    (113)
  </li>
</ul>

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