I think we should include a teams parameter as well. When viewing one's own user profile (at /api/v1/user, all teams would be visible, but if you're viewing another user's profile via /api/v1/user/:user-id, you'd only be able to see the teams that you have in common with them).
What I mean by this is at that the moment the
/api/v1/user
endpoint returnsI think we should include a
teams
parameter as well. When viewing one's own user profile (at/api/v1/user
, all teams would be visible, but if you're viewing another user's profile via/api/v1/user/:user-id
, you'd only be able to see the teams that you have in common with them).