--- title: tio-server-benchmark v1.0.0 language_tabs: - shell: Shell - http: HTTP - javascript: JavaScript - ruby: Ruby - python: Python - php: PHP - java: Java - go: Go toc_footers: [] includes: [] search: true code_clipboard: true highlight_theme: darkula headingLevel: 2 generator: "@tarslib/widdershins v4.0.17" --- # tio-server-benchmark > v1.0.0 Base URLs: # Authentication # Default ## GET plaintext GET /plaintext > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 ## GET json GET /json > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 ## GET db GET /db ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |id|query|string| 否 |none| > 返回示例 > 200 Response ```json { "id": 0, "randomNumber": 0 } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 状态码 **200** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» id|integer|true|none||none| |» randomNumber|integer|true|none||none| ## GET updates GET /updates ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |queries|query|string| 否 |none| > 返回示例 > 成功 ```json [ { "id": 28, "randomNumber": 5399, "randomnumber": 1498 } ] ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 状态码 **200** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» id|integer|false|none||none| |» randomNumber|integer|false|none||none| |» randomnumber|integer|false|none||none| ## GET fortunes GET /fortunes > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 ## GET cacheQuery GET /cacheQuery ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |queries|query|string| 否 |none| > 返回示例 > 200 Response ```json [ { "id": 0, "randomNumber": 0 } ] ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 状态码 **200** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» id|integer|false|none||none| |» randomNumber|integer|false|none||none| ## GET cacheList GET /cacheList > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 # 数据模型