GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve user activity data via the API v4 endpoint. It is useful for scenarios where you want to monitor or analyze user activities on GitLab, such as tracking project contributions, issue updates, or other user actions. For example, it can be used to fetch activities from a specific date, paginate through results, or limit the number of activities returned per request.

Use Case Examples

  1. Fetch user activities starting from a specific date to monitor recent changes.
  2. Paginate through user activities to process large sets of data incrementally.
  3. Limit the number of activities per page to optimize data handling and performance.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication used, here it is GitLab API authentication, hidden unless skipping authentication is false.
baseUrl Base URL of the GitLab instance to which the API requests are sent.
Method HTTP method used for the API request, default is GET.
Query Parameters Collection of query parameters to customize the API request, including 'from' date, 'page' number, and 'per_page' item count.

Output

JSON

  • activities - Array of user activity objects returned from the GitLab API.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have the necessary permissions to access user activities.
  • Verify the baseUrl is correct and points to a valid GitLab instance.
  • Check that query parameters like 'from' date are in the correct format (ISO 8601 date-time string).
  • Handle pagination properly by using 'page' and 'per_page' parameters to avoid missing data or overloading the API.

Links

Discussion