GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves NuGet packages from a specified GitLab group using the GitLab API v4. It is useful for users who want to query and manage NuGet packages within a GitLab group, filtering results by search terms, pagination, and prerelease inclusion. For example, a developer or DevOps engineer can use this node to list all NuGet packages in a group, search for specific packages, or control the number of results returned.

Use Case Examples

  1. Query NuGet packages in a GitLab group by group ID or path.
  2. Search for NuGet packages matching a specific term within a group.
  3. Paginate through NuGet packages by skipping a number of results and limiting the number returned.
  4. Include or exclude prerelease versions in the query results.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is GET.
Parameter Schema Defines the parameters for the API request including group ID/path, search term, pagination, and prerelease inclusion.
Query Parameters Collection of query parameters to filter and paginate the NuGet packages query.
Path Parameters Collection of path parameters including the group ID or full group path.

Output

JSON

  • response - The JSON response from the GitLab API containing the queried NuGet packages data.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID or full group path is correctly specified; otherwise, the API request will fail.
  • Verify that the authentication credentials are valid and have sufficient permissions to access the group's packages.
  • Check the base URL to ensure it points to the correct GitLab instance if using a self-hosted GitLab server.
  • If no results are returned, verify the query parameters such as search term, skip, take, and prerelease flags are correctly set.

Links

Discussion