弹幕

删除一条应用弹幕(开放弹幕网络)

接口说明

此接口用于删除开放弹幕网络应用发送的弹幕。删除后弹幕将从弹幕库中移除,不再被客户端获取到。

弹幕所属应用由调用方的AppId决定,调用方只能删除自己应用发送的弹幕。

鉴权方式

  • 必须携带应用凭证:X-AppId + X-Signature + X-Timestamp 签名模式,或 X-AppId + X-AppSecret 客户端凭证模式

返回说明

删除成功时errorCode为0。当弹幕不存在、已被删除或不属于当前应用时,返回errorCode=7(ResourceNotFound)。 删除操作是异步生效的,客户端弹幕缓存可能存在数秒的延迟。

delete/api/v2/comment/app/{episodeId}/{cid}

Request

  • Base URL: https://api.dandanplay.net
  • URL: https://api.dandanplay.net/api/v2/comment/app/{episodeId}/{cid}
  • Auth: one of:
    • API key in header X-AppId
    • API key in header X-AppSecret
    • HTTP bearer

Path parameters

episodeIdinteger required

弹幕库编号

cidinteger required

弹幕编号,即发送弹幕接口返回的cid

Response

返回删除结果

errorCodeinteger

错误代码,0表示没有发生错误,非0表示有错误,详细信息会包含在errorMessage属性中

successboolean

接口是否调用成功

errorMessagestring nullable

当发生错误时,说明错误具体原因

errorDetailstring nullable

当参数校验失败时,提供可供调用方定位问题字段的补充信息。

Changes

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