[openstreetmap/openstreetmap-website] Add Messages API (PR #4605)
Milan Cvetkovic
notifications at github.com
Tue May 28 15:28:31 UTC 2024
@milan-cvetkovic commented on this pull request.
> @@ -78,6 +78,15 @@
end
end
+ resources :messages, :path => "user/messages", :constraints => { :id => /\d+/ }, :only => [:create, :show, :destroy], :controller => "messages", :as => :api_messages do
My rationale was that messages belong to the user, and the user needs to login/authorize the API in order to read them.
Please advise if you think that is not a good enough reason.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4605#discussion_r1617512043
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4605/review/2083225623 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240528/859c2fb0/attachment.htm>
More information about the rails-dev
mailing list