添加:ZHub 管理接口文档和客户端使用指南
This commit is contained in:
34
docs/admin-apis/other-apis.md
Normal file
34
docs/admin-apis/other-apis.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
title: 其他管理接口
|
||||
description: ZHub 其他管理接口说明
|
||||
---
|
||||
|
||||
# 其他管理接口
|
||||
|
||||
除了核心的管理接口外,ZHub 还提供了其他有用的管理接口,用于版本查询、消息发送和延时消息管理等功能。
|
||||
|
||||
---
|
||||
|
||||
## 版本信息接口
|
||||
|
||||
### 接口说明
|
||||
|
||||
- **路径**: `GET /_/version`
|
||||
- **功能**: 查看服务版本信息
|
||||
- **用途**: 确认服务版本,进行版本管理
|
||||
|
||||
### 使用示例
|
||||
|
||||
```bash
|
||||
# 查看服务版本
|
||||
curl http://127.0.0.1:711/_/version
|
||||
```
|
||||
|
||||
### 返回信息
|
||||
|
||||
返回当前 ZHub 服务的版本信息,包括:
|
||||
|
||||
- 服务版本号
|
||||
- 构建时间
|
||||
---
|
||||
Reference in New Issue
Block a user