六、分类

6.1 顶级分类

1. 接口说明

第一级分类

2. 请求地址

GET api/v3/to_b/classification/

3. 请求参数

4. 返回示例

{
    "msg": "string",
    "status": 0,
    "results": [
        {
            "id": 0,
            "name": "string",
            "frontend_display": 0,
            "order": 0,
            "shallow_icon": "string",
            "shallow_icon_active": "string",
            "deep_icon": "string",
            "deep_icon_active": "string"
        }
    ]
}

5. 返回示例说明

results

参数

说明

字段类型

是否必传

id

分类ID

int

name

分类名

str

frontend_display

客户端展示类型(0, '文字'), (1, 'icon')

int

order

排序值

int

shallow_icon

浅色icon

str

shallow_icon_active

浅色点击icon

str

deep_icon

深色icon

str

deep_icon_active

深色点击icon

str

6.2 顶级分类详情

1. 接口说明

2. 请求地址

3. 请求参数

参数

说明

字段类型

是否必传

id

分类ID

int

4. 返回示例

5. 返回示例说明

results

参数

说明

字段类型

是否必传

id

分类ID

str

name

分类名

Int

frontend_display

客户端展示类型(0, '文字'), (1, 'icon')

int

order

排序值

int

is_lowest

是否为最低级

bool

is_suit

是否为套装

bool

is_figure

是否为角色

bool

b_scheme

方案ID

int

shallow_icon

浅色icon

str

shallow_icon_activeshallow_icon_active

浅色点击icon

str

deep_icondeep_icon

深色icon

str

deep_icon_activedeep_icon_active

深色点击icon

str

children

子集(结构和此结构相同)

list or null

#

6.3 分类资产

1. 接口说明

2. 请求地址

3. 请求参数

参数

说明

字段类型

是否必传

b_classification

分类ID

int

pattern__is_nft

是否NFT

bool

genre

资产类型(0:付费;1:免费)

int

ordering

排序(order)

str

page

页码

int

patternfigureid

角色

int

4. 返回示例

5. 返回示例说明

results

参数

说明

字段类型

是否必传

id

B端资产ID

int

b_price

价格

str

genre

资产类型(0, "付费资产";1, "免费资产")

int

order

排序值

int

is_display_brand_logo

是否展示品牌logo

bool

pattern

资产对象

object

b_classification

分类ID

int

classification_name

分类名

str

6.4 分类角色

1. 接口说明

2. 请求地址

3. 请求参数

4. 返回示例

5. 返回示例说明

results

参数

说明

字段类型

是否必传

price

价格

str

genre

付费类型(0, "付费"), (1, "免费")

int

order

排序值

int

info

角色详情

object

is_have

是否拥有

bool

thumbnail

缩略图

str

head_thumbnail

头像

str

b_unity_file

Unity文件

object

info

参数

说明

字段类型

是否必传

id

角色ID

int

name

角色名

str

is_vbs_figure

是否VBS原人物

int

gender

性别(male:男;female:女)

str

maya

工程文件

str

thumbnail

缩略图

str

head_thumbnail

头像

str

ue_file

UE文件

object

unity_file

Unity文件

object

glb

glb文件

str

is_face

是否可以捏脸

bool

opus_id

作品ID

str

is_replacement

是否支持换装

bool

6.5 分类套装

1. 接口说明

2. 请求地址

3. 请求参数

参数

说明

字段类型

是否必传

b_classification

分类ID

int

suitfigureid

角色ID

int

4. 返回示例

5. 返回示例说明

results

参数

说明

字段类型

是否必传

id

业务信息

str

b_price

业务码

int

order

排序值

int

suit

套装信息

object

#

6.6 标准资产

1. 接口说明

2. 请求地址

3. 请求参数

参数

说明

字段类型

是否必传

id

角色ID

int

4. 返回示例

5. 返回示例说明

results

参数

说明

字段类型

是否必传

figure_id

角色ID

str

relations

资产列表

list

relations

参数

说明

字段类型

是否必传

materia_type

类型ID

int

pattern_down

资产列表

list[资产对象]

最后更新于