- 文档必读
- 个人微信
- 个人微信(DLL) 支持http+tcp
- 企业微信(开发中)
- 监听回调事件
- api请求
- cdn
- 群聊相关接口
- 消息相关接口
- 好友相关接口
- 机器人相关接口
- 开放平台双向互通
- 标签
- 朋友圈
- 更新日志
- 插件敏感词审核机制
big Cdn下载(0.18)
POST
http://localhost:10001/api/processor
请求参数
Body 参数application/json
type
enum<string>
事件类型
枚举值:
bigCdnDown
params
object
参数数据
robotId
string
机器人微信ID
示例值:
当前机器人微信ID
instanceId
string
可选
示例值:
实例id 和 robotId 二者填一者就可以
fileSize
integer
必需
fileId
string
必需
savePath
string
必需
示例
{
"type": "bigCdnDown",
"params": {
"robotId": "当前机器人微信ID",
"instanceId": "实例id 和 robotId 二者填一者就可以",
"fileSize": 0,
"fileId": "string",
"savePath": "string"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:10001/api/processor' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
状态码
示例值:
200
description
string
描述
示例值:
发送成功
time
integer
时间戳
示例值:
1716704721419
data
object
必需
robotId
string
机器人微信id
instanceId
string
实例id
示例
{
"code": 200,
"description": "发送成功",
"time": 1716704721419,
"data": {
"robotId": "string",
"instanceId": "string"
}
}
修改于 2025-01-15 08:13:33