获取单个服务的信息
GET
/api/v1/service/detail/{id}请求参数
Path 参数
id
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
id
string
必需
name
string
必需
service_identifier
string
必需
service_type
integer
必需
last_active_time
null
必需
version
string
必需
create_at
string
必需
update_at
string
必需
description
string
必需
service_config
string
必需
remark
string
必需
示例
{
"code": 200,
"message": "get service list successfully",
"data": {
"id": "3776a2f3-a619-826e-c2b5-3678cb7f86ea",
"name": "123",
"service_identifier": "456",
"service_type": 1,
"last_active_time": null,
"version": "1.0",
"create_at": "0001-01-01T00:00:00+08:05",
"update_at": "0001-01-01T00:00:00+08:05",
"description": "test",
"service_config": "{\"service_config_test\":\"\"}",
"remark": "remark_test"
}
}
最后修改时间: 7 个月前