关注

取消关注

接口说明

此接口用于为用户取消关注某一部作品。

权限需求

此接口需要登录状态才能调用,同时应用应拥有取消关注的权限。

delete/api/v2/favorite/{animeId}

Request

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

Path parameters

animeIdinteger required

作品编号

Response

返回取消关注的结果

errorCodeinteger

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

successboolean

接口是否调用成功

errorMessagestring nullable

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

errorDetailstring nullable

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

Changes

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