获取标签 - ID
开发中
GET
http://localhost:8098/admin/tag/{tagId}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
tagId
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:8098/admin/tag/'
返回响应
🟢200成功
application/json
Body
code
integer
必需
errMsg
null
必需
data
object
必需
tagId
integer
标签 ID
displayName
string
标签名
slug
string
标签别名
color
string | null
标签颜色
postCount
integer
文章数量
示例
{
"code": 200,
"errMsg": null,
"data": {
"tagId": 53,
"displayName": "Kotlin",
"slug": "kotlin",
"color": "#FF0000",
"postCount": 1
}
}
修改于 2024-03-08 10:04:49