[openstreetmap/openstreetmap-website] API: Allow to change GPS trace metadata via PATCH `/gpx/#id/details` (Issue #4046)
mmd
notifications at github.com
Sun Aug 4 11:05:20 UTC 2024
It seems your assumption is not correct. You can update the visibility without re-uploading the trace. Only descriptions and tags need to be provided (from previous GET request).
Before:

Request:
PUT http://localhost:3000/api/0.6/gpx/87
```XML
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6">
<gpx_file id="87" visibility="private">
<description>New Track_2016-08-06 181629</description>
<tag>tag1</tag>
<tag>tag2</tag>
<tag>tag3</tag>
</gpx_file>
</osm>
```
After:

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4046#issuecomment-2267501518
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4046/2267501518 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240804/881d74ff/attachment.htm>
More information about the rails-dev
mailing list