GitLab API

GitlabTool

Actions1095

Pages_domains → getApiV4ProjectsIdPagesDomains

AI-generated

Summary

Retrieve the Pages domains of a specified GitLab project by project ID or URL-encoded path, optionally paginating through results.

Inputs

  • id (required) — The ID or URL-encoded path of the project owned by the authenticated user.
  • page — The page number of results to retrieve for pagination (defaults to 1).
  • per_page — The number of items to include per page in the paginated response (defaults to 20).

Output shape

a JSON object containing a list of Pages domains associated with the specified project, paginated according to 'page' and 'per_page' parameters.

Requires authentication unless 'Skip Authentication' is enabled; uses the configured GitLab API credentials. Pagination parameters are optional, with defaults provided by the API.

Examples

Example 1: Retrieve the first page of Pages domains for a project with ID 123

Path parameter 'id' set to '123'; optional query parameters 'page' and 'per_page' left at defaults.

Links

Discussion