# 批量查询草稿中的单品在资源侧的授权

# 调用方式: GET

# 接口地址:

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

# url传入参数说明:

参数 必选 类型及范围 说明
resourceId 必选 string 合集资源ID
itemIds 必选 string 单品ID,多个用逗号分隔;数量范围在1-100之间

# 返回说明:

返回值字段 字段类型 字段说明
itemId string 单品ID
referee int 做出授权结果的标的物服务类型
defaulterIdentityType int 授权不通过责任方(1:资源 2:节点 4:消费者 8:资源的上游依赖方 128:未知). 多个违约方会通过|运算符计算,注意区分
authCode int 授权码
isAuth boolean 是否授权通过
error string 错误信息

# 示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": [{
		"itemId": "4fe1874d",
		"referee": 1,
		"defaulterIdentityType": 0,
		"authCode": 200,
		"isAuth": true,
		"error": ""
	}, {
		"itemId": "2f7e970d",
		"referee": 1,
		"defaulterIdentityType": 0,
		"authCode": 200,
		"isAuth": true,
		"error": ""
	}]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21