GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves events for a specific project from the GitLab API (v4). It is useful for monitoring project activities such as issues, merge requests, notes, and other event types. For example, it can be used to fetch recent project events to display in a dashboard or to trigger workflows based on project activity.

Use Case Examples

  1. Fetch all events for a project with ID '123'.
  2. Filter project events to only include 'merge_request' events after a specific date.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, hidden unless Skip Authentication is false.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Collection of optional query parameters to filter and paginate the events.
Path Parameters Path parameter specifying the project ID or URL-encoded path.

Output

JSON

  • id - Unique identifier of the event.
  • action_name - Name of the action performed in the event.
  • target_type - Type of the target involved in the event (e.g., issue, merge_request).
  • author
    • username - Username of the event author.
  • created_at - Timestamp when the event was created.
  • project_id - ID of the project related to the event.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the project ID or URL-encoded path is correct to avoid 404 errors.
  • Verify authentication credentials if receiving authorization errors.
  • Check query parameter formats, especially date formats, to prevent request failures.

Links

Discussion