GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves packages associated with a specific GitLab group using the GitLab API v4. It is useful for scenarios where you need to list or manage packages within a group, such as fetching package details for auditing, reporting, or integration with other systems.

Use Case Examples

  1. Fetch all packages for a GitLab group by specifying the group ID.
  2. Filter packages by type, name, or version within a group.
  3. Paginate through packages in a group to handle large datasets.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access.
Authentication Select the authentication method, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Collection of optional query parameters to filter and paginate the packages list.
Path Parameters Path parameter specifying the group ID or URL-encoded path to identify the group.

Output

JSON

  • id - Unique identifier of the package.
  • name - Name of the package.
  • version - Version of the package.
  • type - Type of the package, e.g., npm, maven.
  • status - Current status of the package.
  • created_at - Timestamp when the package was created.
  • updated_at - Timestamp when the package was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID or path is correctly specified; an invalid ID will cause request failures.
  • Check authentication credentials if the API returns unauthorized errors.
  • Verify query parameters for correct types and values to avoid API errors.
  • If pagination is used, ensure page and per_page parameters are set appropriately to retrieve all data.

Links

Discussion