查看值班列表
POST
https://api.flashcat.cloud/schedule/list
最后修改时间:2024-12-10 07:11:11
请求参数
Authorization
在 query 添加参数
app_key
示例:
app_key: ********************
Body 参数application/json
query
string
查询匹配
p
integer
页号,从1开始
limit
integer
每页数量,默认10
is_my_team
boolean
是否我的团队
start
integer
开始时间
end
integer
结束时间
示例
{
"query": "string",
"p": 0,
"limit": 0,
"is_my_team": true,
"start": 0,
"end": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/schedule/list?app_key' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
data
object
必需
items
array [object {9}]
必需
total
integer
必需
error
object
必需
code
enum<string>
错误码
枚举值:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
错误描述
示例
{
"data": {
"items": [
{
"schedule_id": 0,
"schedule_name": "string",
"desc": "string",
"group_id": 0,
"endabled": true,
"create_at": 0,
"create_by": 0,
"update_at": 0,
"update_by": 0
}
],
"total": 0
},
"error": {
"code": "InvalidParameter",
"message": "string"
}
}

添加官方技术人员微信
在这里,获得使用上的任何帮助,快速上手企业告警一站式响应平台FlashDuty


修改于 2024-12-10 07:11:11