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

PCCommonFieldValues

最近更新时间2024.05.07 20:48:37

首次发布时间2022.11.15 20:38:47

调用PCCommonFieldValues接口查看指定通用维度的取值。

请求说明

  • 请求方式:POST
  • 请求地址:/?Action=PCCommonFieldValues&Version=2022-10-28
ServiceName : apmplus_openapi
Region : cn-beijing
X-App-Ids : xxx
Content-Type : application/json

请求参数

Query

参数类型是否必选示例值描述
ActionStringPCCommonFieldValues接口名称。当前 API 的名称为 PCCommonFieldValues
VersionString2022-10-28接口版本。当前 API 的版本为 2022-10-28

Body

参数类型是否必选示例值描述
app_idInteger12345App ID。
start_timeInteger1656288235开始时间,单位为秒。
end_timeInteger1656288235结束时间,单位为秒。
ev_typeString""崩溃类型,暂时只有pc_crash。
fieldsArray of String[ "app_version" ]要获取哪些过滤条件的可选值。
regionStringcn请求区域,默认cn。

返回参数

参数类型示例值描述
errmsgString""错误信息,成功为空。
errnoInteger200错误码,成功为200。

请求示例

POST /?Action=PCCommonFieldValues&Version=2022-10-28
{
    "app_id": 12345,
    "start_time": 1656288235,
    "end_time": 1656288235,
    "fields": [
        "app_version"
    ],
    "region": "cn",
    "ev_type": ""
}

返回示例

{
    "errno": 200,
    "errmsg": "confidence"
}