GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves NuGet symbol files from a specific GitLab group 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 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 symbol file for a NuGet package in a GitLab group to debug a production issue.
  2. Automating the retrieval of symbol files during a CI/CD pipeline to ensure symbols are available for crash reporting tools.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Query Parameters Query parameters for the request including file_name (symbol file name), signature (symbol file signature), and same_file_name (parameter to match the same file name).
Path Parameters Path parameters for the request including id (the group ID or full group path).
Header Parameters Header parameters for the request including Symbolchecksum (required symbol checksum header).

Output

JSON

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

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the Symbolchecksum header is correctly set as it is required and missing it will 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 and match the symbol files available in the GitLab group.
  • Authentication errors may occur if the API token is invalid or missing; ensure proper credentials are configured.

Links

Discussion