Skip to content

Get revisions of a wiki page

GET
/repos/{owner}/{repo}/wiki/revisions/{pageName}
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

pageName
required
string

Name of the page

page
integer

Page number of results to return (1-based)

WikiCommitList

Media type application/json

WikiCommitList commit/revision list

object
commits
Array<object>

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
count
integer format: int64
Example generated
{
"commits": [
{
"author": {
"date": "example",
"email": "hello@example.com",
"name": "example"
},
"commiter": {
"date": "example",
"email": "hello@example.com",
"name": "example"
},
"message": "example",
"sha": "example"
}
],
"count": 1
}
X-Total-Count
integer format: int64

The total number of wiki commits

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}