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

PCCrashGetComments

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

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

调用PCCrashGetComments接口查看评论列表。

请求说明

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

请求参数

Query

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

Body

参数类型是否必选示例值描述
app_idInteger12345App ID。
issue_idStringff56eea75c0411ed95d崩溃ID。
regionStringcn区域,默认cn。

返回参数

参数类型示例值描述
dataArray of Comment-崩溃评论列表。
errmsgString""错误信息,成功为空。
errnoInteger200错误码,成功为200。

Comment

参数类型示例值描述
userStringzhangsan创建人。
commenStringcomment评论内容。
avatar_urlStringhttp://abc.com/avatar头像地址。
comment_idLong1评论ID。
create_timeLong1651819852创建时间。
email_prefixStringabc邮箱前缀。

请求示例

POST /?Action=PCCrashGetComments&Version=2022-10-28
{
    "app_id": 12345,
    "issue_id": "ff56eea75c0411ed95d",
    "region": "cn"
}

返回示例

{
    "errno": 200,
    "errmsg": "",
    "data": [
        {
            "user": "zhangsan",
            "comment_id": 1,
            "create_time": 1651819852,
            "email_prefix": "abc",
            "avatar_url": "http://abc.com/avatar",
            "commen": "comment"
        }
    ]
}