Update a wiki page for a project
PUT
/api/v4/projects/{id}/wikis/{slug}
Updates a specified wiki page for a project.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ” Media type application/json
object
title
Title of a wiki page
string
front_matter
Object that contains YAML frontmatter
object
title
Frontmatter title of a wiki page
string
content
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 ”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