GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation triggers a test event for a specific webhook in a GitLab project. It is useful for verifying that a webhook is correctly configured and receiving events as expected. For example, a user can test if a push event webhook is properly set up by triggering this test event.

Use Case Examples

  1. Trigger a test event for a webhook to ensure it receives push event notifications.
  2. Verify webhook configuration by sending a test confidential issues event.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, typically GitLab API authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project, webhook, and trigger type.

Output

JSON

  • statusCode - HTTP status code returned from the API request.
  • body - Response body from the API request, typically indicating success or failure of the test trigger.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the provided project ID, hook ID, and trigger type are correct and exist in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to access the project and webhook.
  • Check the base URL to ensure it points to the correct GitLab instance if using a self-hosted GitLab server.

Links

Discussion