GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves entities related to bulk imports from the GitLab API (version 4). It is useful for scenarios where users need to monitor or manage bulk import processes in GitLab, such as tracking the status of migrations or fetching paginated lists of import entities. For example, a user can fetch all bulk import entities with a specific status or sort them by creation date.

Use Case Examples

  1. Fetch bulk import entities with status 'finished' and sort them in ascending order by creation date.
  2. Retrieve the second page of bulk import entities with 50 items per page.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, hidden if skipping authentication.
baseUrl The base URL of the GitLab instance to send the API request to.
Method The HTTP method to use for the API request.
Query Parameters Optional query parameters to filter and paginate the bulk import entities.

Output

JSON

  • entities - List of bulk import entities retrieved from the GitLab API.
  • page - Current page number of the results.
  • per_page - Number of items per page in the results.
  • sort - Sort order applied to the results.
  • status - Status filter applied to the results.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have the necessary permissions to access bulk import entities.
  • Verify the baseUrl is correct and accessible from the n8n environment.
  • Check that query parameters like page, per_page, sort, and status are valid and supported by the GitLab API.
  • Common error messages may include authentication failures, invalid query parameters, or network connectivity issues. Resolving these typically involves verifying credentials, correcting parameter values, and ensuring network access.

Links

Discussion