I suggest you ...

Allow multiple actions for the same HTTP verb

Consider this example:
Get User [/api/users] # returns all user objects
Get User [/api/users/{user_id}] # returns one specific user object
Get User [/api/users/{user_email}] # returns one specific user object

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Amir BeheshtyAmir Beheshty shared this idea  ·   ·  Admin →
    declined  ·  Lukas LinhartLukas Linhart responded  · 

    This example describes multiple actions to different URLs, which is allowed.

    Alternatively, this describes two different resources, the latter one having two possible options in the parameters.

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base