I'm trying to create a new endpoint for confirming email after registering new user but I doubt if it's right or not? Here is what I have in my mind : /users/{id}/confirmations/{token} - "confirmation" or "confirmations" ? - When the endpoint is a resource? is "confirmation" a resource?
I'm trying to create a new endpoint for confirming email after registering new user but I doubt if it's right or not?
Here is what I have in my mind :
/users/{id}/confirmations/{token}