增加定时发送规则
POST
/croncmds请求参数
Header 参数
Authorization
string
必需
/open/auth/token接口获取的Bearer类型的token
示例值:
Bearer 0cb972b0-516c-8c7a-8c95-955263eed4c1
Body 参数application/json
cron
string
必需
cmd
string
必需
to_self
boolean
必需
to_others
string
可选
memo
string
可选
示例
{
"cron": "string",
"cmd": "string",
"to_self": true,
"to_others": "string",
"memo": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
可选
示例
{
"code": 200
}
最后修改时间: 1 年前