openstreetmap-website/app/views/api
Andy Allan 95e5178bfb Refactor tracepoint index to use an xml builder view
This avoids constructing xml by hand in both the controller and
the model, and opens the way for other rendering in future.

The complexity of deciding which point goes where, along with revisiting
previous tracks and tracksegs means that I've broken it down into
two parts - sorting the points into the right trksegs is done first,
before rendering them all as xml. I couldn't find a way to allow
revisiting using the builder.
2021-09-29 15:14:53 +01:00
..
capabilities Move all settings to settings.yml 2019-03-13 18:06:23 +01:00
changesets Use a builder to render changeset downloads 2021-09-15 16:33:04 +01:00
map Fix some rubocop todos 2020-08-02 19:38:58 +01:00
nodes JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00
notes Switch to using jbuilder for JSON templates 2019-11-20 18:54:04 +00:00
old_nodes JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00
old_relations JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00
old_ways JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00
permissions Move the permissions call out of api_controller 2019-02-24 11:00:28 +01:00
relations JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00
tracepoints Refactor tracepoint index to use an xml builder view 2021-09-29 15:14:53 +01:00
traces Rework to ensure views are named after the controller method name 2019-06-26 13:45:40 +02:00
user_preferences Added root elements and dict support for preferences response 2021-04-07 17:45:24 -07:00
users Correct policing of access to private user details 2021-08-24 17:49:08 +01:00
versions Add support for an unversioned 'versions' API call 2019-06-26 16:52:10 +02:00
ways JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00
_root_attributes.json.jbuilder JSON: move root_attributes to shared folder 2020-01-22 22:47:47 +01:00