GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to retrieve information about a specific namespace by its ID or URL-encoded path. It is useful for workflows that need to fetch namespace details from GitLab, such as automation scripts for project management or integration tasks involving GitLab namespaces.

Use Case Examples

  1. Retrieve details of a GitLab namespace by providing its ID to automate project setup.
  2. Fetch namespace information to verify permissions or configurations before performing further GitLab operations.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Path Parameters Parameters included in the request path, specifically the 'id' of the namespace to retrieve.

Output

JSON

  • id - The unique identifier of the namespace.
  • name - The name of the namespace.
  • path - The URL-encoded path of the namespace.
  • description - Description of the namespace.
  • visibility - Visibility level of the namespace (e.g., public, private).
  • created_at - Timestamp when the namespace was created.
  • updated_at - Timestamp when the namespace was last updated.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

Troubleshooting

  • Ensure the 'id' path parameter is correctly provided and URL-encoded if necessary.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access namespace information.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to namespace data.

Discussion