GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4UsersUserIdContributedProjects

AI-generated

Summary

Retrieve a list of projects to which the specified user has contributed using GitLab's API.

Inputs

  • user_id (required) — The ID or username of the user whose contributed projects are to be retrieved.
  • order_by — Field by which to order the returned projects (e.g., created_at, updated_at). Some fields like storage_size are admin-only.
  • sort — Sort direction for the returned projects, either ascending (asc) or descending (desc).
  • page — Page number for pagination of the results.
  • per_page — Number of projects to return per page.
  • simple — If true, returns only the ID, URL, name, and path of each project for a simplified response.

Output shape

a list of project objects representing projects that the specified user has contributed to

Supports pagination via 'page' and 'per_page' query parameters. The returned project fields depend on the 'simple' query parameter; when true, the response includes only basic project information. Authentication is required unless explicitly skipped.

Links

Discussion