Create a wiki page for a group
POST
/api/v4/groups/{id}/wikis
Creates a wiki page for a specified group. Requests can define the title, slug, and content.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
title
required
Title of a wiki page
string
front_matter
Object that contains YAML frontmatter
object
title
Frontmatter title of a wiki page
string
content
required
Content of a wiki page
string
format
Format of a wiki page. Available formats are markdown, rdoc, asciidoc and org
string
Responses
Section titled “ Responses ”Created
Media type application/json
object
format
string
slug
string
title
string
wiki_page_meta_id
integer format: int64
content
string
encoding
string
front_matter
object
Example
{ "format": "markdown", "slug": "deploy", "title": "deploy", "wiki_page_meta_id": 123, "content": "Here is an instruction how to deploy this project.", "encoding": "UTF-8", "front_matter": { "title": "deploy" }}Validation error
Not found
Unprocessable entity