Going through the implementation of invitations I'm faced with {{host}}/invitations which bring 2 questions:
-
should we include the companyId in the path... for the sake of legibility and allowing 1 user to have access to several companies... so:
{{host}}/companies/{{companyId}}/invitations
-
should we redirect straight to the invitation...
{{host}}/invitions/{{invitationId}}
I vouch for yes and will implement it that way.
Going through the implementation of invitations I'm faced with
{{host}}/invitationswhich bring 2 questions:should we include the
companyIdin the path... for the sake of legibility and allowing 1 user to have access to several companies... so:{{host}}/companies/{{companyId}}/invitationsshould we redirect straight to the invitation...
{{host}}/invitions/{{invitationId}}I vouch for yes and will implement it that way.