接口:执行任务
接口:执行任务
接口详情
执行任务
zodram api
POST
接口地址
正式环境(prod) | https://zodream.cn/open/task/home/play |
|
本地环境(dev) | http://zodream.localhost/open/task/home/play |
Header参数
字段键 | 字段值 | 备注说明 |
---|
请求参数
字段别名 | 字段含义 | 字段类型 | 是否必填 | 默认值 | 备注说明 |
---|---|---|---|---|---|
id | 今日任务id | 数字(number) | 是 |
响应参数
字段别名 | 字段含义 | 字段类型 | MOCK规则 | 备注说明 |
---|---|---|---|---|
id | id | 数字(number) | ||
today | today | 字符串(string) | ||
amount | amount | 数字(number) | ||
success_amount | success_amount | 数字(number) | ||
pause_amount | pause_amount | 数字(number) | ||
failure_amount | failure_amount | 数字(number) | ||
status | status | 数字(number) | ||
created_at | created_at | 字符串(string) | ||
updated_at | updated_at | 字符串(string) | ||
task | task | 对象(object) | ||
ᅡ id | id | 数字(number) | ||
ᅡ parent_id | parent_id | 数字(number) | ||
ᅡ name | name | 字符串(string) | ||
ᅡ description | description | 字符串(string) | ||
ᅡ status | status | 数字(number) | ||
ᅡ every_time | every_time | 数字(number) | ||
ᅡ time_length | time_length | 数字(number) | ||
ᅡ created_at | created_at | 字符串(string) | ||
ᅡ updated_at | updated_at | 字符串(string) | ||
ᅡ start_at | start_at | 数字(number) | ||
log | log | 对象(object) | ||
ᅡ id | id | 数字(number) | ||
ᅡ status | status | 数字(number) | ||
ᅡ outage_time | outage_time | 数字(number) | ||
ᅡ end_at | end_at | 数字(number) | ||
ᅡ created_at | created_at | 字符串(string) | ||
ᅡ time | time | 数字(number) |
返回示例