hackathon

click hackathon

在线测试 在线浏览

请求方式:POST

请求地址:http://foresightventures.wncwb.com/index.php/api/hackathon/clickHackathon

Body参数名 类型 必需 描述 示例 e.g.
hackathon_id string 37

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668935456",
    "data": null
}
                            

get hackathon

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/hackathon/getHackathon

Body参数名 类型 必需 描述 示例 e.g.
status string Ongoing

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668396521",
    "data": [
        {
            "id": 1,
            "cover_image": "/uploads/20221114/684b4a919d551f46d76bbfbfa1706878.png",
            "title": "test",
            "description": "test",
            "link": "http:www.baidu.com",
            "clicks": 0,
            "status": "Ongoing",
            "createtime": 1668396229,
            "updatetime": 1668396229,
            "status_text": "Ongoing"
        }
    ]
}
                            

media

click media

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/media/clickMedia

Body参数名 类型 必需 描述 示例 e.g.
media_id string 1

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668395114",
    "data": null
}
                            

get media

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/media/getMedia

Body参数名 类型 必需 描述 示例 e.g.
page string 1
limit string 10

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668475620",
    "data": {
        "total": 1,
        "per_page": 15,
        "current_page": 1,
        "last_page": 1,
        "data": [
            {
                "id": 1,
                "cover_image": "/uploads/20221114/dd987ededfb9d0c656c3804da06cbbfd.png",
                "title": "Foresight News",
                "description": "Foresight News. a leading think-tank for transfromative crypto media.",
                "link": "http:www.baidu.com",
                "clicks": 2,
                "createtime": 1668394875,
                "updatetime": 1668394875
            }
        ]
    }
}
                            

portfolio

click portfolio

在线测试 在线浏览

请求方式:POST

请求地址:http://foresightventures.wncwb.com/index.php/api/portfolio/clickPortfolio

Body参数名 类型 必需 描述 示例 e.g.
portfolio_id string 14

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668935374",
    "data": null
}
                            

get portfolio

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/portfolio/getPortfolio

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668394476",
    "data": [
        {
            "id": 1,
            "title": "DeFi",
            "description": "",
            "children": [
                {
                    "id": 1,
                    "indsutry_id": 1,
                    "cover_image": "/uploads/20221114/a66902eee925213b785c7108d2cb88b5.png",
                    "title": "EverFinance",
                    "description": "",
                    "createtime": 1668394086,
                    "updatetime": 1668394086
                }
            ]
        }
    ]
}
                            

News

click news

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/news/clickNews

Body参数名 类型 必需 描述 示例 e.g.
news_id string 2

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668393048",
    "data": null
}
                            

get news

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/news/getNews

Body参数名 类型 必需 描述 示例 e.g.
page string 1
limit string 10

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668475597",
    "data": {
        "total": 1,
        "per_page": 10,
        "current_page": 1,
        "last_page": 1,
        "data": [
            {
                "id": 2,
                "cover_image": "/uploads/20221114/bc6fa1c264873295685e81f5885c11b3.png",
                "title": "BitCoin-2022-Metis Layer2",
                "description": "As an effort to move Bitcoin towards a global payment network, Lightning Network, although more and more concerned in the past two years, has been expanding rapidly. The capacity of 5000 Bitcoins is also a new milestone.",
                "tag": "Featured",
                "link": "https://page.om.qq.com/page/O5Oh3Z7kSWU8BRZ4LyRyj7IQ0?source=cp_1009",
                "clicks": 4,
                "status": "Live",
                "createtime": 1668392093,
                "updatetime": 1668407088,
                "publishedtime": 1668407088,
                "status_text": "Live",
                "publishedtime_text": "2022-11-14 14:24:48"
            }
        ]
    }
}
                            

Research

get author

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/research/getAuthor

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1671500003",
    "data": [
        {
            "id": 1,
            "avatar": "/assets/img/qrcode.png",
            "name": "Sam Smi",
            "description": "",
            "sort": 0
        },
        {
            "id": 2,
            "avatar": "/assets/img/qrcode.png",
            "name": "Steve",
            "description": "",
            "sort": 0
        }
    ]
}
                            

search research title

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/index.php/api/research/searchTitle

Body参数名 类型 必需 描述 示例 e.g.
keyword string Exchanges
string

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1672795700",
    "data": {
        "research": [
            {
                "id": 6,
                "title": "What Does the Future Hold for Crypto Exchanges22222222",
                "topic_ids": "2",
                "author": "1",
                "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png",
                "publishedtime": 1668568376,
                "topic_names": "CeFi",
                "status_text": "",
                "publishedtime_text": "2022-11-16 11:12:56"
            },
            {
                "id": 7,
                "title": "What Does the Future Hold for Crypto Exchanges22222222",
                "topic_ids": "2",
                "author": "2",
                "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png",
                "publishedtime": 1660801758,
                "topic_names": "CeFi",
                "status_text": "",
                "publishedtime_text": "2022-08-18 13:49:18"
            },
            {
                "id": 1,
                "title": "What Does the Future Hold for Crypto Exchanges",
                "topic_ids": "1,2",
                "author": "fafaf",
                "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png",
                "publishedtime": 1668577622,
                "topic_names": "Crypto,CeFi",
                "status_text": "",
                "publishedtime_text": "2022-11-16 13:47:02"
            }
        ],
        "author": [
            {
                "id": 3,
                "avatar": "/assets/img/qrcode.png",
                "name": "Exchanges"
            }
        ]
    }
}
                            

recommend research

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/research/recommendResearch

Body参数名 类型 必需 描述 示例 e.g.
research_id string 1
page string 1
limit string 10

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668408839",
    "data": [
        {
            "id": 4,
            "author": "Joseph Bonneau",
            "topic_ids": "1,2",
            "tag": "Featured",
            "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png",
            "title": "2222",
            "description": "A joint research report by BCG,Bitget and Foresight Ventures",
            "content": "

For starters, it is a digital or virtual currency that uses cryptography for security. It is not issued by any central authority, making it decentralized. People often compare cryptocurrencies to traditional fiat currencies, such as the US dollar, but there are some key differences. For instance, cryptocurrencies are not subject to government or financial institution control.

One of the main attractions of cryptocurrency is its decentralization. There is no backing from any government, and they cannot help in paying taxes.

", "views": 4, "status": "Live", "createtime": 1668307322, "updatetime": 1668406720, "publishedtime": 1668406720, "status_text": "Live", "publishedtime_text": "2022-11-14 14:18:40" }, { "id": 5, "author": "Joseph Bonneau", "topic_ids": "2,3", "tag": "Featured", "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png", "title": "333", "description": "A joint research report by BCG,Bitget and Foresight Ventures", "content": "

For starters, it is a digital or virtual currency that uses cryptography for security. It is not issued by any central authority, making it decentralized. People often compare cryptocurrencies to traditional fiat currencies, such as the US dollar, but there are some key differences. For instance, cryptocurrencies are not subject to government or financial institution control.

One of the main attractions of cryptocurrency is its decentralization. There is no backing from any government, and they cannot help in paying taxes.

", "views": 4, "status": "Live", "createtime": 1668307322, "updatetime": 1668406720, "publishedtime": 1668406720, "status_text": "Live", "publishedtime_text": "2022-11-14 14:18:40" } ] }

view research

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/research/viewResearch

Body参数名 类型 必需 描述 示例 e.g.
research_id string 1

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668311075",
    "data": {
        "id": 1,
        "author": "Joseph Bonneau",
        "topic_id": 1,
        "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png",
        "title": "What Does the Future Hold for Crypto Exchanges",
        "description": "A joint research report by BCG,Bitget and Foresight Ventures",
        "content": "

For starters, it is a digital or virtual currency that uses cryptography for security. It is not issued by any central authority, making it decentralized. People often compare cryptocurrencies to traditional fiat currencies, such as the US dollar, but there are some key differences. For instance, cryptocurrencies are not subject to government or financial institution control.

One of the main attractions of cryptocurrency is its decentralization. There is no backing from any government, and they cannot help in paying taxes.

", "views": 1, "status": "Live", "createtime": 1668307322, "updatetime": 1668309893, "publishedtime": 1668309893, "status_text": "Live" } }

get research

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/research/getResearch

Body参数名 类型 必需 描述 示例 e.g.
keyword string Crypto
topic_id string 1
author_id string 1
page string 2
limit string 10

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1671500299",
    "data": {
        "total": 1,
        "per_page": 10,
        "current_page": 1,
        "last_page": 1,
        "data": [
            {
                "id": 7,
                "author": "1",
                "topic_ids": "2",
                "tag": "Featured",
                "cover_image": "/uploads/20221113/6e1558e957caeddbc4f97203c8ab8c4c.png",
                "title": "What Does the Future Hold for Crypto Exchanges22222222",
                "description": "A joint research report by BCG,Bitget and Foresight Ventures",
                "content": "

For starters, it is a digital or virtual currency that uses cryptography for security. It is not issued by any central authority, making it decentralized. People often compare cryptocurrencies to traditional fiat currencies, such as the US dollar, but there are some key differences. For instance, cryptocurrencies are not subject to government or financial institution control.

\r\n

One of the main attractions of cryptocurrency is its decentralization. There is no backing from any government, and they cannot help in paying taxes.

", "views": 4, "status": "Live", "sort": 5, "createtime": 1668307322, "updatetime": 1671500279, "publishedtime": 1660801758, "status_text": "Live", "publishedtime_text": "2022-08-18 13:49:18" } ] } }

get topic

在线测试 在线浏览

请求方式:GET

请求地址:http://www.foresightventures.com/api/research/getTopic

返回示例:

                                {
    "code": 1,
    "msg": "请求成功",
    "time": "1668310110",
    "data": [
        {
            "id": 1,
            "title": "Crypto",
            "description": ""
        }
    ]
}
                            

Home

get share

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/index/getShare

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668586536",
    "data": [
        {
            "id": 1,
            "title": "Twitter",
            "image": "/assets/img/qrcode.png",
            "link": "test"
        }
    ]
}
                            

subscribed

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/newsletter/subscribed

Body参数名 类型 必需 描述 示例 e.g.
email string samata.shasarestha@yahoo.com

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668412232",
    "data": null
}
                            

get team

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/team/getTeam

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668398409",
    "data": [
        {
            "id": 2,
            "avatar": "/uploads/20221114/291a2f7f76fd91f5a7e59b3a665322c2.png",
            "name": "Forest Bai",
            "description": "Co-founder & General Partner"
        }
    ]
}
                            

get config

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/index/getConfig

Body参数名 类型 必需 描述 示例 e.g.
key string get_in_touch

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668398287",
    "data": {
        "General Enquiries": "fv@foresightventures.com"
    }
}
                            

get page

在线测试 在线浏览

请求方式:POST

请求地址:http://www.foresightventures.com/api/page/getPage

Body参数名 类型 必需 描述 示例 e.g.
title string Hackathon Hero Section

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668397597",
    "data": {
        "id": 5,
        "title": "Hackathon Hero Section",
        "description": "",
        "content": "Hackathon Hero Section",
        "createtime": 1668397463,
        "updatetime": 1668397463
    }
}
                            

get nav

在线测试 在线浏览

请求方式:GET

请求地址:http://www.foresightventures.com/api/index/getNav

返回示例:

                                {
    "code": 1,
    "msg": "Request succeeded",
    "time": "1668391161",
    "data": [
        {
            "id": 7,
            "pid": 0,
            "title": "PORTFOLIO",
            "description": "",
            "level": 1,
            "children": []
        },
        {
            "id": 8,
            "pid": 0,
            "title": "content",
            "description": "",
            "level": 1,
            "children": [
                {
                    "id": 9,
                    "pid": 8,
                    "title": "RESEACH",
                    "description": "",
                    "level": 2
                },
                {
                    "id": 10,
                    "pid": 8,
                    "title": "News & Events",
                    "description": "",
                    "level": 2
                }
            ]
        },
        {
            "id": 11,
            "pid": 0,
            "title": "Build",
            "description": "",
            "level": 1,
            "children": [
                {
                    "id": 12,
                    "pid": 11,
                    "title": "ACCELERATOR",
                    "description": "",
                    "level": 2
                },
                {
                    "id": 13,
                    "pid": 11,
                    "title": "HACKATHON",
                    "description": "",
                    "level": 2
                },
                {
                    "id": 14,
                    "pid": 11,
                    "title": "JOBS",
                    "description": "",
                    "level": 2
                },
                {
                    "id": 15,
                    "pid": 11,
                    "title": "MEDIA",
                    "description": "",
                    "level": 2
                },
                {
                    "id": 16,
                    "pid": 11,
                    "title": "ABOUT",
                    "description": "",
                    "level": 2
                }
            ]
        }
    ]
}
                            

附录

环境变量

在线编辑
Top