GitLab API

GitlabTool

Actions1095

Wikis → postApiV4ProjectsIdWikis

AI-generated

Summary

Create a new wiki page in a specified GitLab project by sending a POST request to the GitLab API's /api/v4/projects/{id}/wikis endpoint.

Inputs

  • id (required) — The ID of the GitLab project where the wiki page will be created.

Output shape

a JSON object representing the created wiki page's details as returned by the GitLab API

The operation returns the full response from the GitLab API for the created wiki page. Ensure authentication credentials for GitLab API are set unless Skip Authentication is enabled.

Examples

Example 1: Create a new wiki page in project 123

Set 'id' to 123 and provide the wiki page content in the request body per the GitLab API schema.

Links

Discussion