GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to perform HTTP requests on the /api/v4/applications endpoint, specifically to retrieve application data. It supports various HTTP methods such as GET, POST, PUT, DELETE, HEAD, and PATCH, allowing flexible interaction with the GitLab Applications API. A common use case is to fetch information about registered applications in a GitLab instance, which can be useful for managing OAuth applications or integrations.

Use Case Examples

  1. Fetching a list of all registered applications in a GitLab instance using a GET request.
  2. Creating or updating an application by sending POST or PUT requests with appropriate request bodies.

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 authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method to use for the API request, such as GET, POST, PUT, DELETE, HEAD, or PATCH.
Parameter Schema Hidden property for the parameter schema of the request, used internally.
Request Body Schema Hidden property for the request body schema, used internally.
Request Path The API endpoint path for the request, fixed to /api/v4/applications for this operation.

Output

JSON

  • response - The JSON response from the GitLab API containing application data.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the baseUrl is correct and accessible to avoid connection errors.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions.
  • Check that the HTTP method matches the intended operation to avoid method not allowed errors.
  • If the API returns errors, inspect the response body for detailed error messages from GitLab.

Links

Discussion