GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the wikis of a specific group from the GitLab API (version 4). It is useful for scenarios where you need to access or display wiki pages associated with a GitLab group, such as in project documentation automation or integration workflows that require group wiki content.

Use Case Examples

  1. Fetch all wiki pages for a GitLab group to display in a custom dashboard.
  2. Automate the retrieval of wiki content for backup or analysis purposes.

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 key authentication.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Query Parameters Optional query parameters for the request, including 'with_content' to include the content of wiki pages.
Path Parameters Path parameters for the request, specifically the 'id' of the group whose wikis are being retrieved.

Output

JSON

  • id - The unique identifier of the wiki page.
  • title - The title of the wiki page.
  • content - The content of the wiki page, included if 'with_content' is true.
  • format - The format of the wiki page content (e.g., markdown).
  • slug - The URL-friendly identifier for the wiki page.
  • created_at - Timestamp when the wiki page was created.
  • updated_at - Timestamp when the wiki page was last updated.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to a valid GitLab group ID to avoid 404 errors.
  • If authentication is required, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Check the 'with_content' query parameter value; if set incorrectly, the content may not be included in the response.

Links

Discussion