curl --location --request GET 'https://api.flashcat.cloud/api/n9e/busi-groups/task-tpls?gids=2&limit=10&p=1&query=' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--header 'X-User-Token: <api-key>'{
"dat": {
"list": [
{
"id": 2,
"group_id": 2,
"title": "自愈脚本1",
"batch": 2,
"tolerance": 1,
"timeout": 300,
"pause": "jiedeMacBook-Pro.local",
"script": "#!/bin/bash\n# e.g.\nexport PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:~/bin\nss -tln",
"args": "12,13",
"tags": [
"job=task"
],
"account": "root",
"create_at": 1741346363,
"create_by": "root",
"update_at": 1741346409,
"update_by": "root"
},
{
"id": 3,
"group_id": 2,
"title": "自愈脚本2",
"batch": 2,
"tolerance": 1,
"timeout": 300,
"pause": "jiedeMacBook-Pro.local",
"script": "#!/bin/bash\n# e.g.\nexport PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:~/bin\nss -tln",
"args": "12,13",
"tags": [
"job=task"
],
"account": "root",
"create_at": 1741346426,
"create_by": "root",
"update_at": 1741346426,
"update_by": "root"
}
],
"total": 2
},
"err": ""
}