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

PCFieldValuesService

最近更新时间2023.12.26 19:24:26

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

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

请求参数

Query

参数

类型

是否必选

示例值

描述

Action

String

PCCommonFieldValues

请求名称。

Version

String

2022-10-28

请求版本。

Body

参数

类型

是否必选

示例值

描述

app_id

i32

12345

App ID。

start_time

i32

1656288235

开始时间,单位为秒。

end_time

i32

1656288235

结束时间,单位为秒

ev_type

string

""

崩溃类型,暂时只有pc_crash。

fields

array of string

[ "app_version" ]

要获取哪些过滤条件的可选值。

region

string

cn

请求区域,默认cn。

返回参数

参数

类型

示例值

描述

errmsg

string

""

错误信息,成功为空。

errno

i32

200

错误码,成功为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"
}

异常返回示例

{
    "ResponseMetadata": {
        "RequestId": "2018****22D30",
        "Action": "PCCommonFieldValues",
        "Version": "2022-10-28",
        "Service": "***",
        "Region": "cn-north-1",
        "Error": {
            "Code": "200000",
            "Message": "参数异常"
        }
    }
}