模板列表
POST
https://api.flashcat.cloud/template/list
最后修改时间:2025-02-21 09:50:08
请求参数
Authorization
在 query 添加参数
app_key
示例:
app_key: ********************
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
query
string
查询关键词
team_id
integer
团队ID
creator_id
integer
创建者ID
is_my_team
boolean
我团队的
示例
{
"query": "string",
"team_id": 0,
"creator_id": 0,
"is_my_team": true
}
示例代码
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/template/list?app_key' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
error
object
可选
code
string
必需
message
string
必需
data
object
可选
has_next_page
boolean
是否有下一页
items
array[object (Template) {18}]
必需
示例
{
"error": {
"code": "string",
"message": "string"
},
"data": {
"has_next_page": true,
"items": [
{
"template_id": "string",
"team_id": 0,
"account_id": 0,
"template_name": "string",
"description": "string",
"email": "string",
"sms": "string",
"feishu": "string",
"dingtalk": "string",
"wecom": "string",
"feishu_app": "string",
"dingtalk_app": "string",
"wecom_app": "string",
"status": "enabled",
"creator_id": 0,
"updated_by": 0,
"created_at": 0,
"updated_at": 0
}
]
}
}

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


修改于 2025-02-21 09:50:08