module Gitlab::Client::Wikis

def update_wiki(project, slug, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) - Information about updated wiki page.

Options Hash: (**options)
  • format (String) -- The format of the wiki page. Available formats are: markdown (default), rdoc, and asciidoc.
  • title (String) -- The title of the wiki page.
  • content (String) -- The content of the wiki page.

Parameters:
  • options (Hash) -- A customizable set of options.
  • slug (String) -- The slug (a unique string) of the wiki page.
  • project (Integer, String) -- The ID or name of a project.
def update_wiki(project, slug, options = {})
  put("/projects/#{url_encode project}/wikis/#{slug}", body: options)
end