GitLab API icon

GitLab API

Gitlab

Actions917

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 for a particular version or type of Conan package can use this node to retrieve matching packages efficiently.

Use Case Examples

  1. Searching for Conan packages with names starting with 'Hello' using the query parameter 'q=Hello*'.
  2. Using the node to integrate Conan package search into a CI/CD pipeline to automate dependency resolution.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request.
Query Parameters Collection of query parameters for the API request, including the search query 'q' which is required for this operation.

Output

JSON

  • data - The list of Conan packages matching the search query returned by the GitLab 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.
  • Check the baseUrl to ensure it points to a valid GitLab instance.
  • Common error messages may include authentication failures, missing required parameters, or network connectivity issues. Resolving these typically involves verifying credentials, input parameters, and network access.

Links

Discussion