获取通知组列表
本地
本地
GET
http://127.0.0.1:9999/api/v1/notification_group/list
通知组
请求参数
Query 参数
name
string
可选
notification_type
string
可选
示例值:
MEMBER
page
integer
页码
page_size
integer
每页数量
status
string
可选
Header 参数
x-token
string
可选
默认值:
{{x-token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9999/api/v1/notification_group/list?name=¬ification_type=MEMBER&page=&page_size=&status=' \
--header 'x-token: {{x-token}}'
返回响应
🟢200获取通知组列表成功
application/json
Body
code
integer
可选
data
object (api.GetNotificationGroupListByPageOutSchema)
可选
list
array[object (api.ReadNotificationGroupOutSchema) {10}]
可选
total
integer
可选
message
string
可选
示例
{
"code": 0,
"data": {
"list": [
{
"created_at": "string",
"description": "string",
"id": "string",
"name": "string",
"notification_config": "string",
"notification_type": "string",
"remark": "string",
"status": "string",
"tenant_id": "string",
"updated_at": "string"
}
],
"total": 0
},
"message": "string"
}
修改于 2024-12-27 08:26:26