GitLab API

GitlabTool

Actions1095

Wikis → getApiV4GroupsIdWikisSlug

AI-generated

Summary

Retrieve the content of a specific wiki page within a GitLab group by providing the group's ID and the wiki page's slug, optionally specifying a version hash and whether to render the content as HTML.

Inputs

  • id (required) — The ID of the GitLab group containing the wiki.
  • slug (required) — The slug identifier of the wiki page to retrieve.
  • version — Optional version hash of the wiki page to fetch a specific version.
  • render_html — Optional flag to render the wiki content to HTML (boolean).

Output shape

a single JSON object representing the wiki page content and metadata as returned by GitLab's API

The output corresponds to the /api/v4/groups/{id}/wikis/{slug} endpoint response. Optional query parameters 'version' and 'render_html' modify content retrieval and format. The workflow must provide valid group ID and wiki slug; authentication via GitLab API credentials is required unless skipped.

Links

Discussion