GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to create new applications via the POST /api/v4/applications endpoint. It is useful for automating the creation of OAuth applications or other app registrations within a GitLab instance. For example, it can be used in CI/CD workflows to programmatically register applications without manual intervention.

Use Case Examples

  1. Automate OAuth application creation in GitLab for integration setups.
  2. Create multiple GitLab applications as part of a deployment pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the 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 request is sent.
Method HTTP method to use for the API request, defaulting to GET but can be set to POST for creating applications.

Output

JSON

  • id - The unique identifier of the created application.
  • name - The name of the created application.
  • redirect_uri - The redirect URI registered for the application.
  • scopes - The scopes granted to the application.
  • created_at - Timestamp when the application was created.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have sufficient permissions to create applications.
  • Verify the baseUrl is correct and accessible.
  • Check that the request body matches the expected schema for creating applications in GitLab API.
  • Common errors include authentication failures, invalid request body, or insufficient permissions.

Links

Discussion