Open hsklia opened 5 years ago
confirmations.
I would consider confirmations a resource. You can POST new one, and you can GET the details of one at any point in the future.
Confirmations are a resource on their own, as well as a sub-resource of users.
Hope that helps you in your journey....
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}