GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the list of projects starred by a specific user on GitLab using the GitLab API v4. It is useful for scenarios where you want to fetch and analyze the starred projects of a user, such as for user activity monitoring, project recommendations, or integration with other tools that track user preferences on GitLab.

Use Case Examples

  1. Fetch all starred projects of a user by their user ID to display in a dashboard.
  2. Retrieve starred projects filtered by visibility or archived status for reporting purposes.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, default is GET.
Query Parameters Various optional filters and parameters to refine the list of starred projects, such as order_by, sort, archived, visibility, search, owned, membership, and pagination options.
Path Parameters The user_id path parameter specifies the ID or username of the user whose starred projects are being retrieved.

Output

JSON

  • id - The unique identifier of the project.
  • name - The name of the project.
  • path - The path of the project.
  • created_at - The creation date of the project.
  • updated_at - The last update date of the project.
  • last_activity_at - The last activity date on the project.
  • visibility - The visibility level of the project (private, internal, public).
  • star_count - The number of stars the project has received.
  • archived - Whether the project is archived.
  • statistics - Optional project statistics if requested.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the user_id path parameter is correctly set to a valid user ID or username; otherwise, the API will return an error.
  • Check that the authentication credentials are valid and have sufficient permissions to access the user's starred projects.
  • Verify that optional query parameters are correctly formatted and valid according to the GitLab API specification to avoid request errors.
  • If the baseUrl is changed from the default, ensure it points to a valid GitLab instance with API v4 support.

Links

Discussion