v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Create a wiki page

post/repos/{owner}/{repo}/wiki/new

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Request body

content_base64string

content must be base64 encoded

messagestring

optional commit message summarizing the change

titlestring

page title. leave empty to keep unchanged

Response

WikiPage

commit_countinteger

The number of commits that modified this page

content_base64string

Page content, base64 encoded

footerstring

The footer content for the wiki page

html_urlstring

The HTML URL to view the wiki page

sidebarstring

The sidebar content for the wiki page

sub_urlstring

The sub URL path for the wiki page

titlestring

The title of the wiki page