# 创建节点标签

# 调用方式: POST

# 接口地址:

https://api.freelog.com/v2/nodes/tags
1

# body传入参数说明:

参数 必选 类型及范围 说明
tags 必选 string[] tag名称

# body示例

{
  "tags":["节点标签4","节点标签5"]
}
1
2
3

# 返回说明:

返回值字段 字段类型 字段说明
tagId int 标签ID
tag string 标签名称
totalSetCount int 总设置次数

# 返回示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": [{
			"tagId": 5,
			"totalSetCount": 0,
			"status": 0,
			"tag": "节点标签4",
			"type": 1,
			"createDate": "2020-12-16T02:56:25.975Z",
			"updateDate": "2020-12-16T02:56:25.975Z"
		},
		{
			"tagId": 6,
			"totalSetCount": 0,
			"status": 0,
			"tag": "节点标签5",
			"type": 1,
			"createDate": "2020-12-16T02:56:25.975Z",
			"updateDate": "2020-12-16T02:56:25.975Z"
		}
	]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25