Retrieve a robot's monitors
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/robots/{robotId}/monitors
monitors
请求示例请求示例
Go
Java
Objective-C
Shell
curl --location --request GET 'http://dev-cn.your-api-server.com/robots/c3689adb-50aa-44af-b265-a7e0d4e5846e/monitors' \
--header 'authorization: Bearer YOUR_SECRET_API_KEY'
响应示例响应示例
200 - 示例 1
{
"statusCode": 200,
"messageCode": "success",
"monitors": {
"totalCount": 10,
"items": [
{
"id": "f6fb62b6-f06a-4bf7-a623-c6a35c2e70b0",
"name": "Monitor Products",
"status": "active",
"pausedReason": "lowCredits",
"inputParameters": {
"originUrl": "https://www.ycombinator.com/companies/airbnb",
"companies_skip": 0,
"companies_limit": 10
},
"schedules": [
{
"type": "FIXED_INTERVAL",
"everyMinutes": 60
}
],
"schedule": "FREQ=HOURLY;INTERVAL=1;BYWEEKDAY=MO,TU,WE,TH,FR",
"notifyOnCapturedScreenshotChange": true,
"notifyOnCapturedTextChange": true,
"capturedScreenshotNotificationThreshold": 15,
"createdAt": 1678795867879,
"pausedAt": 1678795867879,
"updatedAt": 1678795867879
}
]
}
}
请求参数
Path 参数
robotId
string
必需
示例值:
c3689adb-50aa-44af-b265-a7e0d4e5846e
Header 参数
authorization
string
必需
示例值:
Bearer YOUR_SECRET_API_KEY
返回响应
修改于 2024-02-20 02:11:12