halo
  1. SinglePageV1alpha1Public
halo
public
  • all
  • console
  • extension
  • public
  • uc
  • CategoryV1alpha1Public
    • queryCategories
      GET
    • queryCategoryByName
      GET
    • queryPostsByCategoryName
      GET
  • PostV1alpha1Public
    • queryPosts
      GET
    • queryPostByName
      GET
    • queryPostNavigationByName
      GET
  • SinglePageV1alpha1Public
    • querySinglePages
      GET
    • querySinglePageByName
      GET
  • TagV1alpha1Public
    • queryTags
      GET
    • queryTagByName
      GET
    • queryPostsByTagName
      GET
  • CommentV1alpha1Public
    • ListComments_1
      GET
    • CreateComment_1
      POST
    • GetComment
      GET
    • ListCommentReplies
      GET
    • CreateReply_1
      POST
  • IndexV1alpha1Public
    • IndicesSearch
      POST
  • MenuV1alpha1Public
    • queryPrimaryMenu
      GET
    • queryMenuByName
      GET
  • SystemV1alpha1Public
    • queryStats
      GET
  • MetricsV1alpha1Public
    • count
      POST
    • downvote
      POST
    • upvote
      POST
  • NotificationV1alpha1Public
    • Unsubscribe
  • PluginV1alpha1Public
    • queryPluginAvailableByName
  • ThumbnailV1alpha1Public
    • GetThumbnailByUri
  1. SinglePageV1alpha1Public

querySinglePageByName

GET
/apis/api.content.halo.run/v1alpha1/singlepages/{name}
Gets single page by name

请求参数

Path 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://192.168.80.101:8090/apis/api.content.halo.run/v1alpha1/singlepages/' \
--header 'Authorization: {{authorization}}'

返回响应

🟢200成功
*/*
default response
Body

示例
{
    "content": {
        "content": "string",
        "raw": "string"
    },
    "contributors": [
        {
            "avatar": "string",
            "bio": "string",
            "displayName": "string",
            "metadata": {
                "annotations": {
                    "property1": "string",
                    "property2": "string"
                },
                "creationTimestamp": "2019-08-24T14:15:22Z",
                "deletionTimestamp": "2019-08-24T14:15:22Z",
                "finalizers": [
                    "string"
                ],
                "generateName": "string",
                "labels": {
                    "property1": "string",
                    "property2": "string"
                },
                "name": "string",
                "version": 0
            },
            "name": "string",
            "permalink": "string"
        }
    ],
    "metadata": {
        "annotations": {
            "property1": "string",
            "property2": "string"
        },
        "creationTimestamp": "2019-08-24T14:15:22Z",
        "deletionTimestamp": "2019-08-24T14:15:22Z",
        "finalizers": [
            "string"
        ],
        "generateName": "string",
        "labels": {
            "property1": "string",
            "property2": "string"
        },
        "name": "string",
        "version": 0
    },
    "owner": {
        "avatar": "string",
        "bio": "string",
        "displayName": "string",
        "metadata": {
            "annotations": {
                "property1": "string",
                "property2": "string"
            },
            "creationTimestamp": "2019-08-24T14:15:22Z",
            "deletionTimestamp": "2019-08-24T14:15:22Z",
            "finalizers": [
                "string"
            ],
            "generateName": "string",
            "labels": {
                "property1": "string",
                "property2": "string"
            },
            "name": "string",
            "version": 0
        },
        "name": "string",
        "permalink": "string"
    },
    "spec": {
        "allowComment": true,
        "baseSnapshot": "string",
        "cover": "string",
        "deleted": false,
        "excerpt": {
            "autoGenerate": true,
            "raw": "string"
        },
        "headSnapshot": "string",
        "htmlMetas": [
            {
                "property1": "string",
                "property2": "string"
            }
        ],
        "owner": "string",
        "pinned": false,
        "priority": 0,
        "publish": false,
        "publishTime": "2019-08-24T14:15:22Z",
        "releaseSnapshot": "string",
        "slug": "string",
        "template": "string",
        "title": "string",
        "visible": "PUBLIC"
    },
    "stats": {
        "comment": 0,
        "upvote": 0,
        "visit": 0
    },
    "status": {
        "commentsCount": 0,
        "conditions": [
            {
                "lastTransitionTime": "2019-08-24T14:15:22Z",
                "message": "string",
                "reason": "string",
                "status": "TRUE",
                "type": "string"
            }
        ],
        "contributors": [
            "string"
        ],
        "excerpt": "string",
        "hideFromList": true,
        "inProgress": true,
        "lastModifyTime": "2019-08-24T14:15:22Z",
        "observedVersion": 0,
        "permalink": "string",
        "phase": "string"
    }
}
修改于 2025-09-17 17:13:00
上一页
querySinglePages
下一页
queryTags
Built with