分页查询
GET
/message-template/page
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
current
integer <int64>
当前页码
默认值:
1
示例值:
1
size
integer <int64>
分页大小
默认值:
20
示例值:
20
column
string
排序字段
示例值:
id
asc
boolean
排序规则
默认值:
true
示例值:
true
name
string
模板名称
type
string
类型
subject
string
可选
示例代码
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:9000/message-template/page'
返回响应
🟢200成功
application/json
Body
No schema defined
示例
{
"records": [
{
"id": 0,
"code": "",
"name": "",
"type": [
""
],
"subject": "",
"content": "",
"createdName": "",
"createdTime": {
"seconds": 0,
"nanos": 0,
"epochSecond": 0,
"nano": 0
}
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": "",
"pages": 0
}