Use API to list all contributed projects by member

Is there a way to use an API command to list ONLY the projects that a user has CONTRIBUTED to (NOT that they are simply a member of, directly or through inheritence)

GitLab does this somehow when you go to https://gitlab.com/users/<userID>/contributed