Authorization: Bearer ********************curl --location --request GET '/scripts/tasks?offset=0&limit=10&keyword=&type=1&platform=1&scriptId=1' \
--header 'Authorization: Bearer <token>'{
"tasks": [
{
"id": 1,
"script": {
"id": 1,
"name": "清理临时文件夹",
"description": "这是描述",
"type": 1,
"platform": 1,
"content": "这是脚本的内容",
"run_as_admin": true,
"create_time": 1744611689,
"update_time": 1744611689
},
"script_id": 1,
"status": 1,
"total_num": 100,
"success_num": 0,
"failed_num": 0,
"create_time": 1744611689,
"update_time": 1744611689
}
],
"total": 100
}