跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 21.11.0, which is no longer the latest release. See the latest release.

Get a wiki page

GET
/repos/{owner}/{repo}/wiki/page/{pageName}
curl --request GET \
--url https://gitea.example.com/api/v1/repos/example/example/wiki/page/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

WikiPage

Media typeapplication/json

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
Examplegenerated
{
"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"
}

APINotFound is a not found empty response

Media typeapplication/json