[openstreetmap/openstreetmap-website] Add user interface for moderators to hide note comments (#1934)

mmd notifications at github.com
Thu Jan 27 21:58:45 UTC 2022


There's in fact an API endpoint available which is only available to moderators. For some reason it has never been documented on the Wiki page. I've added that missing documentation now: [link](https://wiki.openstreetmap.org/wiki/API_v0.6#Hide_changeset_comment:_POST_.2Fapi.2F0.6.2Fchangeset.2Fcomment.2F.23comment_id.2Fhide)

Unfortunately, it's a bit difficult to find out the changeset comment id as a user, as it's only exposed as `<li id="c33"/>` on the changeset browse page for changeset comment id 33. But after all, it's only an API...

Feel free to correct/enhance as needed.


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

Message ID: <openstreetmap/openstreetmap-website/issues/1934/1023675125 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220127/b309f2ad/attachment.htm>


More information about the rails-dev mailing list