GitLab API

GitlabTool

Actions1095

Project_hooks → getApiV4ProjectsIdHooksHookId

AI-generated

Summary

Retrieve details of a specific project hook from a GitLab project by its project ID and hook ID using the GitLab API.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project to query.
  • Hook_id (required) — The ID of the project hook to retrieve details for.
  • Skip Authentication — Whether to skip authentication for this request; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a JSON object representing the details of the requested project hook.

Uses a GET HTTP method on the path /api/v4/projects/{id}/hooks/{hook_id}. Requires valid authentication credentials unless Skip Authentication is enabled.

Links

Discussion