GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation performs a search query for Conan packages within a specific GitLab project using the GitLab API. It is useful for developers or DevOps engineers who want to programmatically search for Conan packages in their GitLab projects, for example, to automate package management or integrate package search into CI/CD pipelines.

Use Case Examples

  1. Search for Conan packages in a project by specifying the project ID and a search query string.
  2. Automate retrieval of package information from GitLab to use in deployment scripts.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Query Parameters Query parameters for the API request, specifically the search query 'q' to find matching Conan packages.
Path Parameters Path parameters for the API request, specifically the 'id' which is the ID or URL-encoded path of the GitLab project.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab project used in the request path.
  • q - The search query string used to find matching Conan packages.
  • results - The search results containing Conan packages matching the query within the specified project.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID ('id') is correctly specified and accessible with the provided authentication.
  • Verify that the search query ('q') is properly formatted and not empty.
  • Check that the base URL is correct and reachable, especially if using a self-hosted GitLab instance.
  • Authentication errors may occur if the API token is invalid or lacks necessary permissions.

Links

Discussion