GitLab API icon

GitLab API

Gitlab

Actions1062

Wikis → getApiV4ProjectsIdWikisSlug

AI-generated

Summary

Retrieve a specific wiki page by slug from a GitLab project with optional parameters for version and HTML rendering.

Inputs

  • id (required) — The numeric ID of the GitLab project from which to fetch the wiki page.
  • slug (required) — The slug identifier of the wiki page to retrieve.
  • version — The version hash of the wiki page to fetch a specific version.
  • render_html — Boolean flag to render the wiki content to HTML.
  • skipAuthentication — Optionally skip authentication for this request, default is false.
  • baseUrl — Base URL of the GitLab instance, defaulting to https://gitlab.com.
  • method — HTTP method to use; default is GET, but other methods are configurable.

Output shape

a single record representing the requested wiki page with its content and metadata

Returns the retrieved wiki page data according to the GitLab API v4 specification. Query parameters 'version' and 'render_html' are optional and control which version of the page is retrieved and whether the content is rendered to HTML. Authentication is required unless skipped explicitly.

Links

Discussion