1. OverviewV1alpha1
plugin-hitokoto-hub
  • OverviewV1alpha1
    • 获取概览信息
      GET
  • SentenceV1alpha1
    • 查询句子
      GET
    • 批量创建句子
      POST
    • 从 Excel 导入句子
      POST
    • 搜索句子
      GET
    • listSentence
      GET
    • createSentence
      POST
    • deleteSentence
      DELETE
    • getSentence
      GET
    • patchSentence
      PATCH
    • updateSentence
      PUT
  • CategoryV1alpha1
    • listCategory
      GET
    • createCategory
      POST
    • deleteCategory
      DELETE
    • getCategory
      GET
    • patchCategory
      PATCH
    • updateCategory
      PUT
  • CategoryPublicV1alpha1
    • 获取所有分类
      GET
  • SentencePublicV1alpha1
    • 点赞/取消点赞句子
      GET
    • 随机获取句子
      GET
  • 数据模型
    • AddOperation
    • BatchCreateSentenceResult
    • Category
    • CategoryDistribution
    • CategoryItem
    • CategoryList
    • CategorySpec
    • CategoryStatus
    • CopyOperation
    • ExcelImportRequest
    • JsonPatch
    • LikeResponse
    • Metadata
    • MoveOperation
    • OverviewResponse
    • RemoveOperation
    • ReplaceOperation
    • Sentence
    • SentenceItem
    • SentenceList
    • SentenceSpec
    • SentenceStatus
    • TestOperation
  1. OverviewV1alpha1

获取概览信息

GET
/apis/console.api.hitokotohub.puresky.top/v1alpha1/overview

请求参数

Authorization
Basic Auth
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
JWT Bearer
在 Header 添加参数
Authorization
示例:
Authorization: ********************
or

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:8090/apis/console.api.hitokotohub.puresky.top/v1alpha1/overview' \
--header 'Authorization: Bearer <token>'

返回响应

⚪default
*/*
default response
Body*/*

示例
{
    "categoryCount": 0,
    "categoryDistribution": [
        {
            "categoryName": "string",
            "count": 0,
            "displayName": "string",
            "notPublishedCount": 0,
            "publishedCount": 0
        }
    ],
    "notPublishedSentenceCount": 0,
    "publishedSentenceCount": 0,
    "sentenceCount": 0
}
修改于 2026-05-04 04:49:00
下一页
查询句子
Built with