<p>This PR builds on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="415679341" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2160" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2160/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2160">#2160</a> and moves the other api controllers into the api namespace. It also splits up "mixed" controllers, where existing controllers have a mixture of website and api methods, into two separate controllers.</p>
<p>This removes a ton of <code>before_action ... except ...</code> and <code>before_action ... only ...</code> from the controllers, which is a big win for understandability and avoiding errors.</p>
<p>I plan in future work to refactor all the api controllers to inherit from a general ApiController, so that certain things (like before_actions) are common to all methods in all api controllers. However, I avoiding doing so here since the PR is already quite big and complex.</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/2161'>https://github.com/openstreetmap/openstreetmap-website/pull/2161</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Move the capabilities call out of api_controller</li>
  <li>Move the trackpoints call into its own controller (and rename to tracepoints)</li>
  <li>Rename api controller test files</li>
  <li>Move the permissions call out of api_controller</li>
  <li>Move the changes api to its own controller</li>
  <li>Move map method to its own controller</li>
  <li>Move the api methods from changesets_controller into the api namespaced controller</li>
  <li>Move the api methods from changeset_comments_controller into the api namespaced controller</li>
  <li>Move the search controller to the api namespace</li>
  <li>Move the user preferences controller into the api namespace</li>
  <li>Move node/way/relation/old_* controllers into the api namespace</li>
  <li>Move the user api methods into a separate controller in the api namespace</li>
  <li>Move the notes api methods into a controller in the api namespace</li>
  <li>Move the amf and swf controllers into the api namespace</li>
  <li>Fix test file name</li>
  <li>Move the api trace methods into a separate controller under the api namespace</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-0">.rubocop_todo.yml</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-1">app/abilities/ability.rb</a>
    (6)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-2">app/controllers/amf_controller.rb</a>
    (1000)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-3">app/controllers/api/amf_controller.rb</a>
    (1002)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-4">app/controllers/api/capabilities_controller.rb</a>
    (21)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-5">app/controllers/api/changes_controller.rb</a>
    (57)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-6">app/controllers/api/changeset_comments_controller.rb</a>
    (85)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-7">app/controllers/api/changesets_controller.rb</a>
    (422)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-8">app/controllers/api/map_controller.rb</a>
    (107)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-9">app/controllers/api/nodes_controller.rb</a>
    (83)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-10">app/controllers/api/notes_controller.rb</a>
    (373)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-11">app/controllers/api/old_controller.rb</a>
    (79)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-12">app/controllers/api/old_nodes_controller.rb</a>
    (13)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-13">app/controllers/api/old_relations_controller.rb</a>
    (13)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-14">app/controllers/api/old_ways_controller.rb</a>
    (13)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-15">app/controllers/api/permissions_controller.rb</a>
    (27)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-16">app/controllers/api/relations_controller.rb</a>
    (169)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-17">app/controllers/api/search_controller.rb</a>
    (102)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-18">app/controllers/api/swf_controller.rb</a>
    (219)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-19">app/controllers/api/tracepoints_controller.rb</a>
    (112)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-20">app/controllers/api/traces_controller.rb</a>
    (169)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-21">app/controllers/api/user_preferences_controller.rb</a>
    (90)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-22">app/controllers/api/users_controller.rb</a>
    (66)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-23">app/controllers/api/ways_controller.rb</a>
    (120)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-24">app/controllers/api_controller.rb</a>
    (279)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-25">app/controllers/changeset_comments_controller.rb</a>
    (84)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-26">app/controllers/changesets_controller.rb</a>
    (388)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-27">app/controllers/export_controller.rb</a>
    (2)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-28">app/controllers/nodes_controller.rb</a>
    (81)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-29">app/controllers/notes_controller.rb</a>
    (363)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-30">app/controllers/old_controller.rb</a>
    (77)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-31">app/controllers/old_nodes_controller.rb</a>
    (11)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-32">app/controllers/old_relations_controller.rb</a>
    (11)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-33">app/controllers/old_ways_controller.rb</a>
    (11)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-34">app/controllers/relations_controller.rb</a>
    (167)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-35">app/controllers/search_controller.rb</a>
    (100)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-36">app/controllers/swf_controller.rb</a>
    (217)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-37">app/controllers/traces_controller.rb</a>
    (92)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-38">app/controllers/user_preferences_controller.rb</a>
    (88)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-39">app/controllers/users_controller.rb</a>
    (56)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-40">app/controllers/ways_controller.rb</a>
    (118)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-41">app/helpers/note_helper.rb</a>
    (2)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-42">app/views/api/capabilities/show.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-43">app/views/api/notes/_comment.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-44">app/views/api/notes/_description.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-45">app/views/api/notes/_entry.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-46">app/views/api/notes/_note.gpx.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-47">app/views/api/notes/_note.json.jsonify</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-48">app/views/api/notes/_note.rss.builder</a>
    (6)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-49">app/views/api/notes/_note.xml.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-50">app/views/api/notes/feed.rss.builder</a>
    (12)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-51">app/views/api/notes/index.gpx.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-52">app/views/api/notes/index.json.jsonify</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-53">app/views/api/notes/index.rss.builder</a>
    (6)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-54">app/views/api/notes/index.xml.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-55">app/views/api/notes/show.gpx.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-56">app/views/api/notes/show.json.jsonify</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-57">app/views/api/notes/show.rss.builder</a>
    (6)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-58">app/views/api/notes/show.xml.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-59">app/views/api/permissions/show.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-60">app/views/api/users/_api_user.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-61">app/views/api/users/api_read.builder</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-62">app/views/api/users/api_users.builder</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-63">app/views/browse/changeset.html.erb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-64">app/views/browse/feature.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-65">app/views/browse/history.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-66">config/locales/en.yml</a>
    (42)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-67">config/routes.rb</a>
    (178)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-68">test/controllers/amf_controller_test.rb</a>
    (1463)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-69">test/controllers/api/amf_controller_test.rb</a>
    (1465)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-70">test/controllers/api/capabilities_controller_test.rb</a>
    (35)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-71">test/controllers/api/changes_controller_test.rb</a>
    (106)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-72">test/controllers/api/changeset_comments_controller_test.rb</a>
    (254)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-73">test/controllers/api/changesets_controller_test.rb</a>
    (1963)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-74">test/controllers/api/map_controller_test.rb</a>
    (181)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-75">test/controllers/api/nodes_controller_test.rb</a>
    (552)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-76">test/controllers/api/notes_controller_test.rb</a>
    (1090)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-77">test/controllers/api/old_nodes_controller_test.rb</a>
    (430)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-78">test/controllers/api/old_relations_controller_test.rb</a>
    (274)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-79">test/controllers/api/old_ways_controller_test.rb</a>
    (320)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-80">test/controllers/api/permissions_controller_test.rb</a>
    (51)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-81">test/controllers/api/relations_controller_test.rb</a>
    (1079)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-82">test/controllers/api/search_controller_test.rb</a>
    (108)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-83">test/controllers/api/swf_controller_test.rb</a>
    (46)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-84">test/controllers/api/tracepoints_controller_test.rb</a>
    (146)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-85">test/controllers/api/traces_controller_test.rb</a>
    (357)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-86">test/controllers/api/user_preferences_controller_test.rb</a>
    (246)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-87">test/controllers/api/users_controller_test.rb</a>
    (199)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-88">test/controllers/api/ways_controller_test.rb</a>
    (754)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-89">test/controllers/api_controller_test.rb</a>
    (435)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-90">test/controllers/changeset_comments_controller_test.rb</a>
    (244)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-91">test/controllers/changesets_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-92">test/controllers/export_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-93">test/controllers/nodes_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-94">test/controllers/notes_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-95">test/controllers/old_nodes_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-96">test/controllers/old_relations_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-97">test/controllers/old_ways_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-98">test/controllers/relations_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-99">test/controllers/search_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-100">test/controllers/swf_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-101">test/controllers/traces_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-102">test/controllers/user_preferences_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-103">test/controllers/users_controller_test.rb</a>
    (0)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2161/files#diff-104">test/controllers/ways_controller_test.rb</a>
    (0)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2161.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2161.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2161.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2161.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/2161">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLaYAWM9d9FGdoD4wv9bIUsHe-vtBks5vR_aUgaJpZM4bXFjt">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLePwVx61lClVxI4Pfxt2TV7XDICCks5vR_aUgaJpZM4bXFjt.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Move API controllers and methods into their own namespace (#2161)"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/2161"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2161",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2161",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>