Skip to content

Update a wiki page for a group

PUT
/api/v4/groups/{id}/wikis/{slug}

Updates a specified wiki page for a group.

id
required
One of:
string

The ID or URL-encoded path of the group or project

slug
required
string

The slug of a wiki page

Media type application/json
object
title

Title of a wiki page

string
nullable
front_matter

Object that contains YAML frontmatter

object
title

Frontmatter title of a wiki page

string
nullable
content

Content of a wiki page

string
nullable
format

Format of a wiki page. Available formats are markdown, rdoc, asciidoc and org

string
default: markdown nullable
Allowed values: markdown rdoc asciidoc org

OK

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