GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the list of projects to which a specified user has contributed on GitLab. It is useful for scenarios where you want to gather information about a user's project contributions, such as for reporting, analytics, or user activity tracking. For example, you can use it to fetch all projects contributed by a user to display on a dashboard or to analyze user engagement across projects.

Use Case Examples

  1. Fetch all projects contributed by a user with user ID '12345' to display on a user profile page.
  2. Retrieve projects contributed by a user to analyze contribution patterns for team management.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public data access or testing.
Authentication Type of authentication used for the request, default is GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to customize the request such as ordering, sorting, pagination, and simplicity of returned data.
Path Parameters Path parameter specifying the user ID or username whose contributed projects are to be retrieved.

Output

JSON

  • id - Unique identifier of the project.
  • name - Name of the project.
  • path - Path of the project.
  • created_at - Timestamp when the project was created.
  • updated_at - Timestamp when the project was last updated.
  • last_activity_at - Timestamp of the last activity in the project.
  • star_count - Number of stars the project has received.
  • storage_size - Storage size of the project (admin only).
  • repository_size - Repository size of the project (admin only).
  • wiki_size - Wiki size of the project (admin only).
  • packages_size - Packages size of the project (admin only).
  • similarity - Similarity score when searching projects (limited to accessible projects).

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the user_id path parameter is correctly set; missing or incorrect user_id will cause request failures.
  • Verify that the authentication credentials are valid and have sufficient permissions to access user project data.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • Pagination parameters (page, per_page) should be set properly to avoid missing data or excessive data retrieval.
  • If 'simple' parameter is true, only limited project details are returned, which might not include all expected fields.

Links

Discussion