Get the link list interface

API call address

{ๅŸŸๅๅœฐๅ€}/api/friendlink/list

illustrate:{ๅŸŸๅๅœฐๅ€}You need to replace it with your domain address, such as/api/friendlink/list

Calling methods

GET

Request parameters

none

Return parameters

Field name type illustrate
code int Error code
msg string Error Cause Description
data object[] Results content
data result item information
Field name type illustrate
title string yes
link string yes
nofollow int no
back_link string no
my_title string no
my_link string no
contact string no
Remark string no

Request data example

none

Return to the data example

{
    "code": 0,
    "data": [
        {
            "id": 1,
            "created_time": 1626076270,
            "updated_time": 1652067973,
            "title": "AnqiCMS",
            "link": "",
            "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 illustrate
0 OK
-1 Error, the cause of the error is pointed out in msg
1001 Not logged in
1002 Unauthorized
200 API request OK