最近更新时间:2024.05.07 20:48:37
首次发布时间:2022.11.15 20:38:47
调用PCContextValues接口查看指定Context的取值。
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | PCContextValues | 接口名称。当前 API 的名称为 PCContextValues 。 |
Version | String | 是 | 2022-10-28 | 接口版本。当前 API 的版本为 2022-10-28 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
app_id | Integer | 是 | 12345 | App ID。 |
start_time | Integer | 是 | 1656288235 | 开始时间,单位为秒。 |
end_time | Integer | 是 | 1656288235 | 结束时间,单位为秒。 |
ev_type | String | 否 | "" | 崩溃类型,暂时只有pc_crash。 |
key | String | 否 | context_key | context的key值。 |
region | String | 否 | cn | 请求区域,默认cn。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Array of String | ["v1", "v2"] | 请求context key有哪些可选项。 |
errmsg | String | "" | 错误信息,成功为空。 |
errno | Integer | 200 | 错误码,成功为200。 |
POST /?Action=PCContextValues&Version=2022-10-28 { "app_id": 12345, "start_time": 1656288235, "end_time": 1656288235, "region": "cn", "key": "context_key", "ev_type": "except" }
{ "errno": 200, "data": [ "v1", "v2" ], "errmsg": "happen" }