]> git.openstreetmap.org Git - rails.git/commit
Add support for JSON traces API
authorHarel M <harel.mazor@gmail.com>
Mon, 21 Apr 2025 20:04:56 +0000 (20:04 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 24 Apr 2025 17:47:51 +0000 (18:47 +0100)
commit4c44df5fdf01c6d4f758c997b7f402fb512af4ca
tree0efb944e7413e1e8c87a526cc545e9f1c126a0ba
parentf9b68484053eea8d53d5505e951def8a3ad611d5
Add support for JSON traces API

Co-authored-by: Tom Hughes <tom@compton.nu>
Co-authored-by: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com>
app/controllers/api/traces_controller.rb
app/controllers/api/users/traces_controller.rb
app/views/api/traces/_trace.json.jbuilder [new file with mode: 0644]
app/views/api/traces/show.json.jbuilder [new file with mode: 0644]
app/views/api/users/traces/index.json.jbuilder [new file with mode: 0644]
test/controllers/api/traces_controller_test.rb
test/controllers/api/users/traces_controller_test.rb