GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation fetches the API v4 feature definitions from a GitLab instance. It is useful for retrieving metadata about available features in GitLab, which can help in understanding or automating interactions with GitLab's API features.

Use Case Examples

  1. A DevOps engineer uses this node to programmatically get the list of feature definitions from their GitLab server to dynamically adjust CI/CD pipelines based on available features.
  2. A developer integrates this node in an automation workflow to check for new or updated GitLab features before executing further API calls.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use for the API request, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.

Output

JSON

  • features - The list of feature definitions retrieved from the GitLab API.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • If authentication fails, ensure the GitLab API credential is correctly configured and has the necessary permissions.
  • If the base URL is incorrect or the GitLab instance is unreachable, the request will fail; verify the URL and network connectivity.
  • HTTP method must be appropriate for the endpoint; typically, GET is used for fetching feature definitions.

Links

Discussion