[openstreetmap/openstreetmap-website] API: Allow to change metadata via PATCH `/gpx/#id/details` (Issue #4046)

Udi Oron notifications at github.com
Sun May 28 14:46:25 UTC 2023


### Problem

If an app/user wants to mass change GPS trace metadata (for example, visibility) it can only use the update/PUT method which requires her to re upload the GPX trace itself:
https://wiki.openstreetmap.org/wiki/API_v0.6#Update:_PUT_/api/0.6/gpx/#id

Adding a new PATCH `_/api/0.6/gpx/#id` method can allow apps to modify visibility/description without re uploading.
See also:
https://github.com/openstreetmap/openstreetmap-website/blob/d4a014d3a6ca3f8f7d03528d39e4707dc256bc60/app/controllers/api/traces_controller.rb#L51 


### Description

_No response_

### Screenshots

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4046
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4046 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230528/408a8f06/attachment.htm>


More information about the rails-dev mailing list