API Call Address
{域名地址}/api/tag/detail
Description:{域名地址}
Need to replace it with your domain address, such ashttps://en.anqicms.com/api/tag/detail
Calling method
GET
Request parameters
Field name |
Type |
Required |
Description |
id |
int |
Yes |
Label ID, if filename is provided, ID is not required |
filename |
string |
No |
Label URL alias, either Label ID or filename |
Return parameters
Field name |
Type |
Description |
code |
int |
error code |
msg |
string |
error reason description |
data |
object |
result content |
data parameter
Field name |
Type |
Description |
id |
int |
Label ID |
title |
string |
Label name |
seo_title |
string |
Label SEO title |
url_token |
string |
Label URL Alias |
Keywords |
string |
Label Keywords |
Description |
string |
Label Description |
First Letter |
string |
First Letter |
link |
string |
Link |
Created Time |
int |
Tag publish timestamp |
updated_time |
int |
Tag update timestamp |
status |
int |
Tag display status |
request data example
Return Data Example
{
"code": 0,
"data": {
"id": 1,
"created_time": 1662733318,
"updated_time": 1662733318,
"title": "AnqiCMS",
"seo_title": "",
"keywords": "",
"url_token": "anqicms",
"description": "",
"first_letter": "A",
"status": 1,
"link": "https://www.kanqicms.com/tag/1/"
},
"msg": ""
}
Error Code
error code |
Description |
0 |
OK |
-1 |
Error, the reason is indicated in the msg |
1001 |
Not logged in |
1002 |
Unauthorized |
200 |
API request OK |