调用ListServiceGroups查询HSF应用的服务分组列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
GET /pop/v5/service/serviceGroups HTTP/1.1
请求参数
无请求参数。
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Code | Integer | 200 |
Code码 |
Message | String | success |
信息 |
RequestId | String | a5281053-08e4-47a5-b2ab-5c0323de7b5a |
请求ID |
ServiceGroupsList | Array of ListServiceGroups |
服务分组列表 |
|
ListServiceGroups | |||
CreateTime | String | 1575357165770 |
创建时间的时间戳 |
GroupId | String | 789d9cda-74b1-****-****-05e21a0a7661 |
服务分组ID |
GroupName | String | edas-test-group |
服务分组名称 |
示例
请求示例
GET /pop/v5/service/serviceGroups HTTP/1.1
公共请求头
正常返回示例
XML
格式
<ServiceGroupsList>
<ListServiceGroups>
<GroupName>edas-test-group</GroupName>
<CreateTime>1575357165770</CreateTime>
<GroupId>789d9cda-74b1-****-****-05e21a0a7661</GroupId>
</ListServiceGroups>
</ServiceGroupsList>
<Message>success</Message>
<Code>200</Code>
JSON
格式
{
"ServiceGroupsList": {
"ListServiceGroups": [
{
"GroupName": "edas-test-group",
"CreateTime": 1575357165770,
"GroupId": "789d9cda-74b1-****-****-05e21a0a7661"
}
]
},
"Message": "success",
"Code": 200
}
错误码
访问错误中心查看更多错误码。