API Call Address
{域名地址}/api/friendlink/list
Description:{域名地址}
Need to replace it with your domain address, such ashttps://en.anqicms.com/api/friendlink/list
Calling method
GET
Request parameters
None
Return parameters
Field name | Type | Description |
---|---|---|
code | int | error code |
msg | string | error reason description |
data | object[] | result content |
data result item information
Field name | Type | Description |
---|---|---|
title | string | Opposite keyword |
link | string | Opposite link |
nofollow | int | whether to add nofollow, optional values: 0 do not add, 1 add |
back_link | string | counterparty backlink page |
my_title | string | my keywords |
my_link | string | my_link |
contact | string | contact_info_of_the_other_party |
remark | string | remark_information |
request data example
None
Return Data Example
{
"code": 0,
"data": [
{
"id": 1,
"created_time": 1626076270,
"updated_time": 1652067973,
"title": "AnqiCMS",
"link": "https://en.anqicms.com",
"back_link": "",
"my_title": "",
"my_link": "",
"contact": "",
"remark": "",
"nofollow": 0,
"sort": 1,
"status": 4,
"checked_time": 1652067973
},
{
"id": 2,
"created_time": 1626076270,
"updated_time": 1652067973,
"title": "免费取名网",
"link": "https://www.888name.cn",
"back_link": "",
"my_title": "",
"my_link": "",
"contact": "",
"remark": "",
"nofollow": 0,
"sort": 1,
"status": 4,
"checked_time": 1652067973
}
],
"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 |