GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation uploads or updates a NuGet symbol package for a specific project in GitLab using the GitLab API. It is useful for managing symbol packages in a project's package registry, enabling better debugging and symbol resolution for .NET applications.

Use Case Examples

  1. Uploading a new NuGet symbol package to a GitLab project to make it available for consumption.
  2. Updating an existing NuGet symbol package in a GitLab project to fix or improve debugging symbols.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is PUT for this operation.
Path Parameters Parameters included in the request path, specifically the project ID or URL-encoded path identifying the target project for the symbol package upload.

Output

JSON

  • response - The JSON response from the GitLab API after uploading or updating the NuGet symbol package, typically including status and metadata about the package.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • Verify that the authentication credentials are valid and have sufficient permissions to upload packages to the project.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct.
  • Common errors include 401 Unauthorized (invalid or missing authentication), 404 Not Found (incorrect project ID or path), and 400 Bad Request (invalid request body or parameters).

Links

Discussion