GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation fetches user activity data from the GitLab API (version 4) using the endpoint `/api/v4/user/activities`. It is useful for scenarios where you want to retrieve detailed activity logs or events related to a GitLab user, such as monitoring user actions, auditing, or generating activity reports.

Use Case Examples

  1. Retrieve user activities from a specific date to monitor recent changes.
  2. Paginate through user activities to analyze user behavior over time.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to send the request to.
Method HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Collection of query parameters to filter or paginate the user activities.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the baseUrl is correct and accessible.
  • Verify that the authentication token is valid and has sufficient permissions.
  • Check that query parameters like 'from', 'page', and 'per_page' are correctly formatted and valid.
  • Common errors include authentication failures, invalid URL, or rate limiting by the GitLab API.

Links

Discussion