GitLab API icon

GitLab API

Gitlab

Actions1062

Wikis → postApiV4GroupsIdWikis

AI-generated

Summary

Create a new wiki page in a GitLab group by specifying the group ID and the wiki content details.

Inputs

  • Id (required) — The ID of the GitLab group in which to create the wiki page.
  • Request Body (required) — The details of the wiki page to create, including title, content, format, and other supported wiki properties.

Output shape

A JSON object representing the newly created wiki page with its metadata.

The operation requires authentication via GitLab API credentials unless 'Skip Authentication' is enabled. The 'Id' path parameter must be provided as a string representing the group ID. The request body must match the 'postApiV4GroupsIdWikis' schema as defined by the GitLab API, which typically includes fields such as 'title' and 'content'.

Examples

Example 1: Create a new wiki page titled 'Project Overview' in the group with ID '1234', with markdown content describing the project.

Set 'Id' to '1234' in Path Parameters. Provide a request body with 'title':'Project Overview' and 'content':'# Project Overview
This is the project description...' (in markdown).

Links

Discussion