GitLab API icon

GitLab API

Gitlab

Actions1062

System_hooks → getApiV4Hooks

AI-generated

Summary

Retrieves GitLab system hooks via the GitLab API v4.

Inputs

  • Authentication (required) — Select the 'GitlabApi' credential to authenticate requests.
  • baseUrl — The GitLab server URL (defaults to https://gitlab.com).
  • Method — HTTP method to use (defaults to GET).
  • Query Parameters — Optional query parameters, including 'page' for pagination and 'per_page' for items per page.
  • Skip Authentication — If true, skips standard API authentication (defaults to false).

Output shape

a list of items (one per hook)

Returns paginated results; default page size is 20 items per page.

Examples

Example 1: Fetch the first page of system hooks.

Method: GET, Query Parameters: page=1, per_page=20

Example 2: Retrieve a specific page of hooks.

Method: GET, Query Parameters: page=2, per_page=50

Example 3: Skip authentication and fetch hooks.

Skip Authentication: true, Method: GET

Links

Discussion