GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV1UsersAuthenticate

AI-generated

Summary

Authenticate a user for Conan packages in a specified GitLab project by calling the GitLab API endpoint for Conan user authentication.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project for which to authenticate the Conan user.
  • skipAuthentication — Boolean flag to skip using the stored GitLab API authentication credentials.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use for the request; default is GET.

Output shape

a single JSON object containing the response from the GitLab API endpoint for Conan user authentication

The execution returns the raw API response from the /api/v4/projects/{id}/packages/conan/v1/users/authenticate endpoint. Successful execution requires providing a valid project ID and valid GitLab API credentials unless skipped.

Examples

Example 1: Authenticate Conan user in a project

Set the project ID path parameter to specify which project to authenticate for. Use default GET method and ensure GitLab API credentials are configured unless you opt to skip authentication.

Links

Discussion