WikiWritePage
Creates a new wiki page.Request (Stream)
The repository containing the wiki. Only present in the first message.
The name of the wiki page. Only present in the first message.
The markup format of the page (e.g., “markdown”, “rdoc”, “asciidoc”). Only present in the first message.
Details about the commit to create. Only present in the first message.
The content of the wiki page. Present in all messages (streamed for large pages).
WikiCommitDetails
Name of the author/committer
Email of the author/committer
Commit message
GitLab user ID
GitLab username
Response
Error message if a page with the same name already exists
WikiUpdatePage
Updates an existing wiki page.Request (Stream)
The repository containing the wiki. Only present in the first message.
The path to the wiki page file. Only present in the first message.
The new title for the page. Only present in the first message.
The markup format of the page. Only present in the first message.
Details about the commit to create. Only present in the first message.
The updated content of the wiki page. Present in all messages (streamed for large pages).
Response
Error message if the update failed
WikiFindPage
Finds and returns a wiki page. Returns a stream because the page’s raw_data field may be arbitrarily large.Request
The repository containing the wiki
The title of the page to find
The Git revision to retrieve the page from
The directory to search within
If true, prevents the content from being sent in the response
Response (Stream)
The wiki page data
WikiPage
Version information. Only present in the first message.
Markup format. Only present in the first message.
Page title. Only present in the first message.
URL path for the page. Only present in the first message.
File system path. Only present in the first message.
Page name. Only present in the first message.
Whether this is a historical version. Only present in the first message.
Page content data. Present in all messages of the stream.
WikiGetAllPages
Retrieves all wiki pages with optional sorting and limiting.Request
The repository containing the wiki
Maximum number of pages to return. Passing 0 means no limit is applied.
If true, sort in descending order
Field to sort by. Values:
TITLE, CREATED_ATResponse (Stream)
The response stream is a concatenation of WikiPage streams.Wiki page data (see WikiPage structure above)
When true, signals a change of page for the next response message
WikiListPages
Lists wiki pages without their content, with pagination support.Request
The repository containing the wiki
Maximum number of pages to return. Passing 0 means no limit is applied.
If true, sort in descending order
Field to sort by. Values:
TITLE, CREATED_ATNumber of pages to skip for pagination
Response (Stream)
Wiki page data without content (see WikiPage structure above, but raw_data will be empty)