GitLab API

GitlabTool

Actions1095

Pages → getApiV4PagesDomains

AI-generated

Summary

Retrieve a list of GitLab Pages domains with optional pagination parameters to control the page number and items per page.

Inputs

  • Skip Authentication — Boolean flag to skip authentication for the request, default is false (authentication enabled).
  • baseUrl — Base URL of the GitLab instance to target, defaults to https://gitlab.com.
  • Method (required) — HTTP method to use, fixed as GET for this operation.
  • Query Parameters — Collection of pagination query parameters: 'page' (integer, current page number) and 'per_page' (integer, number of items per page), both optional.

Output shape

a list of GitLab Pages domains returned in JSON format

Response supports pagination controlled via 'page' and 'per_page' query parameters. Authentication is used by default unless 'Skip Authentication' is set to true. The request is made to the '/api/v4/pages/domains' endpoint on the specified baseUrl.

Examples

Example 1: Fetch first page of Pages domains with default page size

baseUrl left at default (https://gitlab.com), Method set to GET, no pagination query parameters specified, authentication enabled by default.

Links

Discussion