1. CategoryPublicV1alpha1
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. CategoryPublicV1alpha1

获取所有分类

GET
/apis/public.api.hitokotohub.puresky.top/v1alpha1/category/list

请求参数

无

请求示例代码

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/public.api.hitokotohub.puresky.top/v1alpha1/category/list'

返回响应

⚪default
*/*
default response
Body*/*

示例
[
    {
        "description": "string",
        "displayName": "string",
        "name": "string",
        "sentenceCount": 0
    }
]
修改于 2026-05-04 04:49:00
上一页
updateCategory
下一页
点赞/取消点赞句子
Built with