GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific wiki page from a GitLab group using the GitLab API v4. It is useful for accessing detailed wiki content within a group, such as documentation or project notes, by specifying the group's ID and the wiki page's slug. This can be applied in scenarios where automated workflows need to fetch or display wiki content dynamically.

Use Case Examples

  1. Fetch a wiki page by its slug from a specific GitLab group to display in a project dashboard.
  2. Retrieve a particular version of a wiki page for audit or review purposes.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Parameter Schema Defines the parameters required for the operation, including path and query parameters such as slug, version, render_html, and group id.
Query Parameters Optional query parameters for the request, including version hash of the wiki page and whether to render content to HTML.
Path Parameters Path parameters specifying the group ID and the slug of the wiki page to retrieve.

Output

JSON

  • id - ID of the wiki page
  • slug - Slug of the wiki page
  • title - Title of the wiki page
  • content - Content of the wiki page
  • format - Format of the wiki content
  • message - Commit message associated with the wiki page update
  • author - Author of the wiki page update
  • created_at - Creation timestamp of the wiki page
  • updated_at - Last update timestamp of the wiki page

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and wiki slug are correctly specified; incorrect values will result in a 404 Not Found error.
  • If authentication is required but skipped, the request will fail with an authentication error; verify the API key is set correctly.
  • Check the baseUrl if using a self-hosted GitLab instance to avoid connection errors.

Links

Discussion