WebTagTarget
Query the targets list of tag
GET
/api/v1/web/tag/{id}/target
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
查询参数
tagId*
Web application tag id
类型integer
必填format
"int64"
targetType*
Web application resource type
类型string
必填枚举
"USER"
"DEPT"
"GROUP"
targetId
Web application resource id
类型integer
format
"int64"
targetName
Web application resource name
类型string
createdBy
类型integer
format
"int64"
createdDate
类型string
format
"date-time"
pageNo
Page data size, default 1, maximum 100000
类型integer
format
"int32"
maximum
100000
minimum
1
pageSize
Page data size, default 10, maximum 2000
类型integer
format
"int32"
maximum
2000
minimum
1
orderBy
Sort field
类型string
orderSort
Sorting method
类型string
枚举
"ASC"
"DESC"
filters[0].key
Filter field name
类型string
filters[0].op
Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)
类型string
枚举
"GREATER_THAN"
"LESS_THAN"
"GREATER_THAN_EQUAL"
"LESS_THAN_EQUAL"
"EQUAL"
"NOT_EQUAL"
"MATCH"
"MATCH_END"
"NOT_MATCH"
"NOT_MATCH_END"
"IN"
"NOT_IN"
"IS_NULL"
"IS_NOT_NULL"
filters[0].value
Filter value
filters[1].key
Filter field name
类型string
filters[1].op
Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)
类型string
枚举
"GREATER_THAN"
"LESS_THAN"
"GREATER_THAN_EQUAL"
"LESS_THAN_EQUAL"
"EQUAL"
"NOT_EQUAL"
"MATCH"
"MATCH_END"
"NOT_MATCH"
"NOT_MATCH_END"
"IN"
"NOT_IN"
"IS_NULL"
"IS_NOT_NULL"
filters[1].value
Filter value
filters[2].key
Filter field name
类型string
filters[2].op
Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)
类型string
枚举
"GREATER_THAN"
"LESS_THAN"
"GREATER_THAN_EQUAL"
"LESS_THAN_EQUAL"
"EQUAL"
"NOT_EQUAL"
"MATCH"
"MATCH_END"
"NOT_MATCH"
"NOT_MATCH_END"
"IN"
"NOT_IN"
"IS_NULL"
"IS_NOT_NULL"
filters[2].value
Filter value
infoScope
Query information scope
类型string
枚举
"BASIC"
"DETAIL"
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Add the tag to targets
POST
/api/v1/web/tag/{id}/target
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
id*
Tag id
类型integer
必填format
"int64"
请求体
application/json
JSON
[
{
"targetType": "string",
"targetId": 1
}
]
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete the targets of tag
DELETE
/api/v1/web/tag/{id}/target
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
id*
Tag id
类型integer
必填format
"int64"
查询参数
targetIds*
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}