Method: Gitlab::Client::Wikis#wikis

Defined in:
lib/gitlab/client/wikis.rb

#wikis(project, options = {}) ⇒ Array<Gitlab::ObjectifiedHash>

Get all wiki pages for a given project.

Examples:

Gitlab.wikis(3)
Gitlab.wikis(3, {with_content: 'Some wiki content'})

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • options (Hash) (defaults to: {})

    A customizable set of options.

Options Hash (options):

  • with_content(optional) (String)

    Include pages content

Returns:



17
18
19
# File 'lib/gitlab/client/wikis.rb', line 17

def wikis(project, options = {})
  get("/projects/#{url_encode project}/wikis", query: options)
end