You need to enable JavaScript to run this app.
最新活动
产品
解决方案
定价
合作与生态
支持与服务
开发者
了解我们
导航

GetServiceList

更新时间:2023.05.09 14:31:48

调用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": "参数异常"
        }
    }
}