GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdHooksHookIdEventsHookLogIdResend

AI-generated

Summary

Resend a specific project hook event log by invoking the POST method on the /api/v4/projects/{id}/hooks/{hook_id}/events/{hook_log_id}/resend endpoint.

Inputs

  • id (required) — The ID of the project for which the hook event log should be resent.
  • hook_id (required) — The ID of the project hook.
  • hook_log_id (required) — The ID of the specific event log entry to resend.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Boolean flag to bypass authentication if set to true; otherwise, authentication via the GitLab API credential is used.

Output shape

The operation returns the API response from GitLab for the resend action, typically the details of the resent event or confirmation; structured as a JSON object.

The output depends on GitLab's API response to the resend request. Proper authentication is required unless explicitly skipped.

Examples

Example 1: Resending a hook event log to retry processing or notify again of a specific hook event in a GitLab project.

Set the 'id' to the project ID, 'hook_id' to the hook's identifier, and 'hook_log_id' to the specific event log to resend. Optionally adjust 'baseUrl' if using a self-hosted GitLab instance.

Links

Discussion