okbang
  1. api
okbang
  • api
    • api - 获取随机句子
      GET
    • api - 根据uuid获取句子
      GET
    • api - 获取句子api状态
      GET
  • 数据模型
    • ResultModelV2
    • HashMapObject
    • ResultModel
    • SystemLoginParam
    • SystemSetupParam
    • SystemResetParam
    • MapObject
    • SysUserParam
    • OkbangEntity
  1. api

api - 根据uuid获取句子

GET
https://linnin.cn/api/sentence/{uuid}

请求参数

Path 参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://linnin.cn/api/sentence/?debug=true'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "message": "string",
    "data": {
        "sentence": {
            "commit_from": "string",
            "createdAt": "string",
            "creator": "string",
            "creator_uid": 0,
            "from": "string",
            "id": 0,
            "length": 0,
            "okbang": "string",
            "reviewer": 0,
            "type": "string",
            "uuid": "string"
        },
        "cacheHit": true,
        "cacheStats": {
            "size": 0,
            "maxSize": 0,
            "hits": 0,
            "misses": 0,
            "evictions": 0,
            "hitRate": "string"
        }
    },
    "timestamp": "string"
}
修改于 2025-08-27 01:23:57
上一页
api - 获取随机句子
下一页
api - 获取句子api状态
Built with