[openstreetmap/openstreetmap-website] Allow `user/preferences/[KEY]` to accept arbitrary keys (PR #3787)

mmd notifications at github.com
Thu Nov 10 14:56:00 UTC 2022


We could instead add an additional optional filter to `GET /api/0.6/user/preferences`, like: `GET /api/0.6/user/preferences?key=my.key `

This should also play nicely with different output formats, e.g. GET /api/0.6/user/preferences.json?key=my.key 


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

Message ID: <openstreetmap/openstreetmap-website/pull/3787/c1310416209 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221110/82f1c597/attachment.htm>


More information about the rails-dev mailing list