GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves NuGet symbol files from a specific group in GitLab using the GitLab API. It is useful for developers or CI/CD pipelines that need to access symbol files for debugging or symbolication purposes. For example, it can be used to fetch symbol files by specifying the group ID, file name, signature, and a parameter to match the same file name, facilitating automated symbol file management in software development workflows.

Use Case Examples

  1. Fetching a NuGet symbol file for a group to debug a .NET application.
  2. Automating the retrieval of symbol files during a CI/CD pipeline to ensure proper error reporting.

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 key authentication.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method used for the request, default is GET.
Parameter Schema Defines the required parameters for the API call including header, path, and query parameters such as Symbolchecksum, group ID, file name, signature, and same file name.
Query Parameters Collection of query parameters including file_name (symbol file name), signature (symbol file signature), and same_file_name (a string to match the same file name).
Path Parameters Collection of path parameters including the group ID or full group path to specify the target group.
Header Parameters Collection of header parameters including Symbolchecksum which is required to authenticate or verify the symbol file.

Output

JSON

  • response - The JSON response from the GitLab API containing the requested NuGet symbol file data.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the Symbolchecksum header is correctly set; missing or incorrect checksum may cause request failure.
  • Verify the group ID or full group path is correct to avoid 404 errors.
  • Check that the file_name, signature, and same_file_name query parameters are correctly provided as they are required.
  • Authentication errors may occur if the GitLab API key is missing or invalid; ensure proper credentials are configured.

Links

Discussion