- 概述
- 定制配置
- API
- WEB
- SC
- OP
- MP
- MP Copy
- PP
- APP
- OpenApi
- 机构运营报表
- 未命名接口POST
SLA采集服务列表
开发中
POST
/pts/sc/sla/service/list
最后修改时间:2023-10-24 07:46:04
责任人:严子雄
请求参数
Body 参数application/x-www-form-urlencoded
service_type
string
服务类别
service_name
string
服务名,可模糊查询
status
integer
可选
create_time_start
string
查询创建开始时间
create_time_end
string
查询创建结束时间
page_num
integer
分页数,默认:1
示例值:
1
page_size
integer
可选
示例值:
20
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/pts/sc/sla/service/list' \
--data-urlencode 'service_type=' \
--data-urlencode 'service_name=' \
--data-urlencode 'status=' \
--data-urlencode 'create_time_start=' \
--data-urlencode 'create_time_end=' \
--data-urlencode 'page_num=1' \
--data-urlencode 'page_size=20'
返回响应
🟢200成功
application/json
Body
code
string
返回码
msg
string
返回说明
data
object
返回数据
total
integer
数据总条数
list
array [object {10}]
当前返回数据
示例
{
"code": "string",
"msg": "string",
"data": {
"total": 0,
"list": [
{
"service_id": 0,
"service_type": "string",
"service_name": "string",
"description": "string",
"start_time": "string",
"offline_time": "string",
"level": 0,
"status": 0,
"create_time": "string",
"update_time": "string"
}
]
}
}
🔴500失败