跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Get revisions of a wiki page

GET
/repos/{owner}/{repo}/wiki/revisions/{pageName}
curl --request GET \
--url https://gitea.com/api/v1/repos/example/example/wiki/revisions/example \
--header 'Authorization: Basic <credentials>'
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 typeapplication/json

WikiCommitList commit/revision list

object
commits

The list of wiki commits

Array<object>

WikiCommit page commit/revision

object
author
CommitUser contains information of a user in the context of a commit.
object
date

Date is the commit date in string format

string
email
string format: email
name

Name is the person’s name

string
commiter
CommitUser contains information of a user in the context of a commit.
object
date

Date is the commit date in string format

string
email
string format: email
name

Name is the person’s name

string
message

The commit message

string
sha

The commit SHA hash

string
count

The total count of commits

integer format: int64
Examplegenerated
{
"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
}

APINotFound is a not found empty response

Media typeapplication/json