调用ListServiceGroups查询HSF应用的服务分组列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
edas:ListServiceGroups |
get |
*全部资源
|
无 | 无 |
请求语法
GET /pop/v5/service/serviceGroups HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
无请求参数。
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
integer |
Code 码 |
200 |
| Message |
string |
信息 |
success |
| RequestId |
string |
请求 ID |
a5281053-08e4-47a5-b2ab-5c0323de7b5a |
| ServiceGroupsList |
object |
||
| ListServiceGroups |
array<object> |
服务分组列表 |
|
|
object |
|||
| GroupId |
string |
服务分组 ID |
789d9cda-74b1-****-****-05e21a0a7661 |
| GroupName |
string |
服务分组名称 |
edas-test-group |
| CreateTime |
string |
创建时间的时间戳 |
1575357165770 |
示例
正常返回示例
JSON格式
{
"Code": 200,
"Message": "success",
"RequestId": "a5281053-08e4-47a5-b2ab-5c0323de7b5a",
"ServiceGroupsList": {
"ListServiceGroups": [
{
"GroupId": "789d9cda-74b1-****-****-05e21a0a7661",
"GroupName": "edas-test-group",
"CreateTime": "1575357165770"
}
]
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?