Web Comment

Web 获取父评论详情

返回指定父评论的详情,字段与 parentCommentList 单条评论一致,便于前端复用评论组件。series_id、web_comment_id 分别为 Web 端加密剧集 ID 与加密评论 ID,由 WebRequest 中间件自动解码。允许未登录访问,未登录时 is_like 默认为 0;video_type=6 时走广告评论数据源。响应 detail 含 web_comment_id、评论人/被回复人信息、点赞与子评论数等字段,sub_comment 在详情接口固定返回空对象。

响应契约:SimpleMap。

series_id 缺失/非法,或 web_comment_id 缺失/解码失败时返回 code=10001;普通剧集父评论不存在、已删除或为人工评论时返回 code=10008。

认证要求:无需登录。

签名要求:需要请求签名。

响应处理:默认会经过响应加密。

get/webSeriesComment/parentCommentDetail

Query parameters

series_idstring required

Web 端加密剧集 ID。

Web 端加密剧集 ID。

web_comment_idstring required

Web 端加密父评论 ID,由 WebRequest 中间件解码为内部 comment_id。

Web 端加密父评论 ID,由 WebRequest 中间件解码为内部 comment_id。

video_typeinteger

视频类型,普通剧集可不传;广告评论传 6。

视频类型,普通剧集可不传;广告评论传 6。

display_scenestring

展示场景:public=公开浏览区(默认),seo=SEO 收录区。

展示场景:public=公开浏览区(默认),seo=SEO 收录区。

comment_idstring

Headers

langstring

语言代码,例如 en、zh、es。

语言代码,例如 en、zh、es。

device_numberstring

设备唯一标识。

设备唯一标识。

app_versionstring

客户端版本号。

客户端版本号。

timestampinteger

请求时间戳(秒)。

请求时间戳(秒)。

signaturestring

接口签名。

接口签名。

Response

请求成功

codeinteger required
msgstring required
infoobject required
is_encrypt0 | 1 required
request_idstring required
response_timeinteger required
original_dataobject

Example response

{
  "msg": "成功"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.