GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation performs a search query on Conan packages using the GitLab API. It is useful for users who want to find specific Conan packages hosted on GitLab by specifying search criteria. For example, a developer looking to find packages matching a certain pattern or keyword can use this operation to retrieve relevant package information.

Use Case Examples

  1. Search for Conan packages with names starting with 'Hello' using the query parameter 'q=Hello*'.
  2. Retrieve Conan packages matching a specific search term to integrate with CI/CD pipelines or package management workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
baseUrl The base URL of the GitLab instance to send the request to, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Collection of query parameters for the search request, including the required 'q' parameter which is the search query string.

Output

JSON

  • results - Array of Conan package search results returned by the API.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the 'q' query parameter is provided and correctly formatted, as it is required for the search operation.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have the necessary permissions to access the Conan packages API.
  • Check the baseUrl to ensure it points to a valid GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion