GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV2UsersCheckCredentials

AI-generated

Summary

Check the Conan v2 package registry user credentials for a specific GitLab project by making an authenticated HTTP request to the GitLab API endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to check credentials for.
  • Skip Authentication — Optionally skip authentication for this request; defaults to false.
  • Method — The HTTP method to use for the request; defaults to GET.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a JSON response from the GitLab API indicating the result of the credentials check, typically a single JSON object or status code

The response depends on the GitLab API's /api/v4/projects/{id}/packages/conan/v2/users/check_credentials endpoint; authentication is required unless skipped. The node uses credentials configured under gitlabApi unless Skip Authentication is enabled.

Examples

Example 1: Check if user credentials are valid for the Conan v2 packages of a GitLab project

Set the project 'id' in path parameters; keep authentication enabled (Skip Authentication: false) and use the default GET method and baseUrl ('https://gitlab.com').

Links

Discussion