You need to enable JavaScript to run this app.
导航

GetServiceList

最近更新时间2024.04.26 16:56:36

首次发布时间2022.11.25 11:53:32

调用GetServiceList接口获取服务列表。

使用限制

子账号已授权该应用的管理员或成员权限。详情请参见权限管理

使用说明

  • 接口名称:GetServiceList
  • 请求方式:POST
  • 接口地址:/?Action=GetServiceList&Version=2022-10-12

请求参数

Query

参数

类型

是否必选

示例值

描述

Action

String

GetServiceList

请求名称。

Version

String

2022-10-12

请求版本。

ServiceName : apmplus_openapi
Region : cn-beijing 
Content-Type : application/json

返回参数

参数

类型

示例值

描述

error_msg

string

-

错误信息,成功为空。

error_no

i32

0

错误码,成功为0。

data

object of data

-

服务列表,key为服务唯一key。

请求示例

POST https://open.volcengineapi.com/?Action=GetServiceList&Version=2022-10-12 
{}

返回示例

正常返回示例

{
    "error_msg": "",
    "data": {},
    "error_no": 0
}

异常返回示例

{
    "ResponseMetadata": {
        "RequestId": "201806041104200100100232280022D30",
        "Action": "GetServiceList",
        "Version": "2022-10-12",
        "Service": "***",
        "Region": "cn-north-1",
        "Error": {
            "Code": "200000",
            "Message": "参数异常"
        }
    }
}