Edit a wiki page
PATCH
/repos/{owner}/{repo}/wiki/page/{pageName}
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” owner
required
string
Owner of the repo
repo
required
string
Name of the repo
pageName
required
string
Name of the page
Request Body
Section titled “ Request Body ” Media type application/json
CreateWikiPageOptions form for creating wiki
object
content_base64
Content must be base64 encoded
string
message
Optional commit message summarizing the change
string
title
Page title. leave empty to keep unchanged
string
Example generated
{ "content_base64": "example", "message": "example", "title": "example"}Responses
Section titled “ Responses ”WikiPage
WikiPage a wiki page
object
commit_count
integer format: int64
content_base64
Page content, base64 encoded
string
footer
string
html_url
string
last_commit
WikiCommit page commit/revision
object
author
CommitUser contains information of a user in the context of a commit.
object
date
string
email
string format: email
name
string
commiter
CommitUser contains information of a user in the context of a commit.
object
date
string
email
string format: email
name
string
message
string
sha
string
sidebar
string
sub_url
string
title
string
Example generated
{ "commit_count": 1, "content_base64": "example", "footer": "example", "html_url": "example", "last_commit": { "author": { "date": "example", "email": "hello@example.com", "name": "example" }, "commiter": { "date": "example", "email": "hello@example.com", "name": "example" }, "message": "example", "sha": "example" }, "sidebar": "example", "sub_url": "example", "title": "example"}WikiPage a wiki page
object
commit_count
integer format: int64
content_base64
Page content, base64 encoded
string
footer
string
html_url
string
last_commit
WikiCommit page commit/revision
object
author
CommitUser contains information of a user in the context of a commit.
object
date
string
email
string format: email
name
string
commiter
CommitUser contains information of a user in the context of a commit.
object
date
string
email
string format: email
name
string
message
string
sha
string
sidebar
string
sub_url
string
title
string
APIError is error format response
APIError is an api error with a message
object
message
string
url
string
Example generated
{ "message": "example", "url": "example"}APIError is an api error with a message
object
message
string
url
string
APIForbiddenError is a forbidden error response
object
message
string
url
string
Example generated
{ "message": "example", "url": "example"}object
message
string
url
string
APINotFound is a not found error response
object
errors
Array<string>
message
string
url
string
Example generated
{ "errors": [ "example" ], "message": "example", "url": "example"}object
errors
Array<string>
message
string
url
string
QuotaExceeded
Headers
Section titled “ Headers ” message
string
user_id
integer format: int64
username
string
APIRepoArchivedError is an error that is raised when an archived repo should be modified
object
message
string
url
string
Example generated
{ "message": "example", "url": "example"}object
message
string
url
string