[API] User endpoint to get personal projects and contributed projects

I would like something like

/users/:id/projects

to get the personal projects of a given user.

Something like

/users/:id/contributed

to get the projects a user has contributed to would be nice too.