查询企业标签
GET https://qw-openapi-tx.dustess.com/enterprise/v1/tag/tree?accessToken=
字段 | 类型 | 描述 | 是否必须 |
---|---|---|---|
accessToken | String | accessToken | true |
无
响应参数名 | 类型 | 说明 |
---|---|---|
code | Int | 响应码 |
msg | String | 消息提示 |
data | Object | 返回数据 |
data.tag_groups | Object[] | 标签组列表 |
data.tag_groups.id | String | 标签组ID |
data.tag_groups.name | String | 标签组名称 |
data.tag_groups.enable | Bool | 是否启用 |
data.tag_groups.order | Int | 标签组排序值 |
data.tag_groups.create_time | Int | 标签组创建时间(时间戳) |
data.tag_groups.tags | Object[] | 标签组包含的标签列表 |
data.tag_groups.tags.id | String | 标签ID |
data.tag_groups.tags.name | String | 标签名称 |
data.tag_groups.tags.parent_id | String | 标签父级标签组ID |
data.tag_groups.tags.order | Int | 标签在标签组内排序值 |
data.tag_groups.tags.enable | Bool | 是否启用 |
data.tag_groups.tags.create_time | Int | 标签创建时间(时间戳) |
{
"code": 0,
"msg": "OK",
"data": {
"tag_groups": [
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag group 1",
"order": 2147876863,
"create_time": 1641608015,
"enable": true,
"tags": [
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag 1",
"enable": true,
"parent_id": "xxx-xxx-xxx-xxx",
"order": 2147876863,
"create_time": 1641608015
},
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag 2",
"enable": true,
"parent_id": "xxx-xxx-xxx-xxx",
"order": 2147876863,
"create_time": 1641608015
},
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag 3",
"enable": true,
"parent_id": "xxx-xxx-xxx-xxx",
"order": 2147876863,
"create_time": 1641608015
}
]
},
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag group 2",
"order": 2147745791,
"create_time": 1642406322,
"enable": true,
"tags": [
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag 4",
"enable": true,
"parent_id": "xxx-xxx-xxx-xxx",
"order": 2147745791,
"create_time": 1642406322
},
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag 5",
"enable": true,
"parent_id": "xxx-xxx-xxx-xxx",
"order": 2147745791,
"create_time": 1642406322
},
{
"id": "xxx-xxx-xxx-xxx",
"name": "tag 6",
"enable": true,
"parent_id": "xxx-xxx-xxx-xxx",
"order": 2147745791,
"create_time": 1642406322
}
]
}
]
}
}
修改于 2024-09-18 11:22:30