List of projects in which your are a member using Gitlab Api

Hi,

I would like to find REST API to retrieve list of projects where I am a member. But couldn’t find REST API for that. Please help me out.

There are two APIs that could be of use here, depending on the kind of membership involved.

Checkout:

  • Projects API | GitLab (List user projects) and,

    • Get a list of projects owned by the given user. (See also the membership and other optional params)

  • Users API | GitLab (List user memberships)

    • Lists all projects and groups a user is a member of. This endpoint is available for admins only (i.e. only runs on on Self-Managed instances).

1 Like