# 查看资源是否在单品目录中存在

# 调用方式: GET

# 接口地址:

https://api.freelog.com/v2/resources/catalogues/drafts/{resourceId}/items/checkExists
1

# url传入参数说明:

参数 必选 类型及范围 说明
resourceId 必选 string 合集资源ID
resourceIds 必选 string 目标资源ID,多个用逗号分隔

# 返回说明:

返回值字段 字段类型 字段说明
resourceId string 资源ID
isExists boolean 是否存在于单品目录中

# 示例

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": [
    {
      "resourceId": "666012e66c7248002e931cee",
      "isExists": true
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12