GitLab API

GitlabTool

Actions905

Overview

This node operation fetches domain information related to GitLab Pages by making a GET request to the GitLab API endpoint `/api/v4/pages/domains`. It supports pagination through query parameters, allowing users to specify the page number and the number of items per page. This operation is useful for retrieving and managing GitLab Pages domains in automated workflows, such as monitoring domain configurations or integrating domain data into other systems.

Use Case Examples

  1. Retrieve the first page of GitLab Pages domains with default pagination.
  2. Fetch a specific page of domains by setting the `page` and `per_page` query parameters.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Query Parameters Collection of query parameters to customize the API request, including pagination options `page` and `per_page`.

Output

JSON

  • domains - List of GitLab Pages domains retrieved from the API.
  • pagination
    • page - Current page number of the results.
    • per_page - Number of items per page in the results.
    • total - Total number of available items.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the GitLab API authentication credential is correctly configured and valid to avoid authentication errors.
  • Verify the base URL is correct and accessible to prevent connection issues.
  • Check that the query parameters `page` and `per_page` are valid integers to avoid request errors.

Links

Discussion