创建匹配
POST /matches HTTP/1.1
Content-Type: application/json
{
"regExp": "echo",
// ...
}
请求
方法
POST
请求体参数
参数名 | 说明 |
---|---|
- | Match |
响应
状态码
200
内容
字段 | 类型 | 说明 |
---|---|---|
- | Match | 匹配 |
返回示例
{
"data": {
"regExp": "^/开服$",
"fieldType": 3,
"requireAdmin": false,
"exclusions": "",
"description": "",
"command": "[s]start",
"id": 65865403
},
"errorMsg": null,
"details": [],
"time": "2025-07-04T20:16:48.3234591+08:00"
}