Group Threads

Get the list of threads of a group. Replacing getThreads()

Get group threads

GET https://api.metaforo.io/v2/groups/{group_id}/threads

Get group threads

Request Body

Name
Type
Description

group_id*

Int

group id

page

Int

Which page of results to return

per_page

Int

How many items to return per page

category_id

Int

Retiring. Default 0

sort

String

Retiring. Default old

{
    "status": true,
    "code": "20000",
    "description": "",
    "server": "rest",
    "data": {
        "threads": [
            {
                "id": 35651,
                "title": "This is 6v's test topic",
                "gallery_id": "0",
                "snapshot_id": "",
                "snapshot_author": "",
                "posts_count": 90,
                "likes_count": 28,
                "category_index_id": 1,
                "user_id": 7088,
                "first_post_id": 1935986,
                "is_pin": 109,
                "last_user_name": "TTest",
                "categorys_id": 2405,
                "categorys_name": "2345678",
                "slug": "this-is-6v-s-test-topic-35651",
                "latest_reply": {
                    "user_id": 4,
                    "user": {
                        "id": 4,
                        "is_nfc": 1,
                        "name": "TTest",
                        "photo_url": "https://lh3.googleusercontent.com/2aLdNelK_y7ZYLdymPzpxrOXGmCpwFFsDwirqSZLL_YZxysUMM3X0tbhtAe4sxtq3GaNkwbk1bXPQkIZQBPYVjCAwf7CowIMVjxTTrM=s250"
                    },
                    "online": false,
                    "badge": [],
                    "user_title": [],
                    "is_ban": ""
                },
                "first_post": {
                    "content":"[{\"insert\":\"\测\试\一\下\文\本\\n\\n\"},{\"attributes\":{\"bold\":true},\"insert\":\"\每\天\都\是\一\段\小\生\命\"},{\"attributes\":{\"list\":\"bullet\"},\"insert\":\"\\n\"},{\"attributes\":{\"italic\":true,\"bold\":true},\"insert\":\"\每\日\醒\来\起\身\是\一\次\小\出\生\"},{\"attributes\":{\"list\":\"bullet\"},\"insert\":\"\\n\"},{\"attributes\":{\"underline\":true,\"italic\":true,\"bold\":true},\"insert\":\"\每\个\新\鲜\的\早\晨\是\一\次\小\青\春\"},{\"attributes\":{\"list\":\"bullet\"},\"insert\":\"\\n\"},{\"insert\":\"\每\晚\休\息\睡\去\是\一\次\小\死\亡\"},{\"attributes\":{\"list\":\"bullet\"},\"insert\":\"\\n\"},{\"insert\":\"\\n\"},{\"insert\":{\"image\":\"https:\\/\\/cdn.everforo.com\\/20220112\\/56eb38a72ef5b1c07536f2914122a37f.jpg\"}},{\"insert\":\"\\n\\n\\n\\n\面\对\吧\"},{\"insert\":{\"emoji\":{\"name\":\"joy\",\"unicode\":\"1f602\"}}},{\"insert\":\" \面\对\无\穷\无\尽\的\麻\烦\"},{\"insert\":{\"image\":\"https:\\/\\/cdn.everforo.com\\/20220112\\/c93d8a693c61bcabe9f02b9adc6b8a73.jpg\"}},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\我\们\能\成\为\英\雄\"},{\"insert\":{\"image\":\"https:\\/\\/cdn.everforo.com\\/20220112\\/713580adbfa44ac93e04b74b66741b74.jpg\"}},{\"insert\":\"\哪\怕\只\有\一\天\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\\n\\n\在Bounty\上\, \加\强\招\聘\功\能\, \聚\合web3\人\才\,\加\速SeeDAO\产\业\孵\化\,\助\力\更\多web3\华\人\企\业\发\展\\n\作\者\:[silentdog#1751, TX#2221 ] twitter\:\"},{\"attributes\":{\"link\":\"https:\\/\\/twitter.com\\/isaachu88\"},\"insert\":\"https:\\/\\/twitter.com\\/isaachu88\"},{\"insert\":\"\\n\提\案\署\名\:[silentdog#1751]\\n\发\布\日\期\:[2022\\/4\\/29]\\n\ \\n\概\括\\n\打\造\更\开\源\的Bounty\社\区\,\加\强\突\出\招\聘\功\能\和\识\别\度\, \以C2C\的\方\式\邀\请web3\招\聘\企\业\和web3\人\才\的\交\互\,\缓\解\这\方\面\信\息\不\对\称\,\聚\合web3\人\才\,\加\速SeeDAO\产\业\孵\化\,\助\力\更\多web3\华\人\企\业\发\展 \。 \在\实\现\即\时\信\息\同\步\的\同\时\, \建\立\人\才-\工\作\机\会\的\标\签\话\题\讨\论\有\助\于\有\志\于\或\者\已\经\进\入web3\行\业\从\业\者\更\好\理\解\岗\位\的\要\求\和\薪\资\、\激\励\。\ \\n\ \\n\背\景\\n\在Web3\快\速\发\展\的\前\夕\, \相\对\优\质\专\门\面\向\华\语\人\才\的\招\聘\板\块\缺\失\, \很\多web3\企\业\全\部\通\过\猎\头\和\熟\人\介\绍\招\聘\人\才\, \成\本\高\效\率\低\, \同\时web2\人\才\缺\少\进\入web3\的\路\径\和\渠\道\。\\n\ \\n\通\过\在SeeDAO\以\完\全\免\费\和\开\源\的C2C\形\式\, \可\以\与web3 university\在\人\才\培\养-\工\作\机\会\形\成\反\哺\和\形\成\闭\环\, \丰\富\社\区\对SeeDAOer\的\价\值\,\解\决\招\聘\信\息\不\对\称\的\问\题\。\为\加\速\孵\化web3\企\业\的\发\展\在\人\才\端\保\驾\护\航\, \同\时\可\以\持\续\提\升SeeDAO\的\生\态\活\跃\度\。\\n\ \\n\工\作\范\围\(\待\探\讨\)\\n\刷\新Bounty\\/\新\建\立\明\确\的\突\出\招\聘\及\关\于\工\作\机\会\交\流\的\信\息\讨\论\板\块\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\ \与web3\大\学\的\人\才\培\养\互\通\, \加\大\人\才\培\训\认\证\的\含\金\量\, \长\期\目\标\希\望\可\以\在web3\业\内\形\成\对\培\训\证\书\的\认\可\度\, \减\轻\企\业\招\聘\面\试\的\成\本\, \使\证\书\成\为\业\界\一\种\受\认\可\的\标\准\之\一\。 \同\时\邀\请\业\内\标\杆\企\业\来\社\区\宣\讲\, \提\供\面\试\机\会 \(\做\标\杆\打\磨\产\品\)\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\流\量\宣\传\, \广\泛\邀\请web3\企\业\(C\或\小B\)\, \及\开\发\者\关\注\和\互\动\(\中\长\尾\端\的\客\户\运\营\)\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\与\孵\化\企\业\联\动\, \待\深\化\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\需\要\一\位\持\续\的\社\区\运\营\贡\献\者\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\待\共\创\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"\ \\n\\n\ \\n\以\上\各\个\环\节\参\与\的\贡\献\者\都\有\一\定\比\例\的\项\目\方\激\励\可\以\获\得\,\具\体\待\定\\n\ \\n\ \\n\发\起\人\介\绍\\nsilentdog#1751\\nWeb2\大\厂\资\深HR\从\业\者\, web3\新\兵\。solid believer in web3\和dao \社\会\治\理\。\\n\"}]",
                    "deleted": "0",
                    "user_id": 7088,
                    "nsfw": "0"
                },
                "category": {
                    "id": 2405,
                    "name": "2345678"
                }
            },
            {
                "id": 36682,
                "title": "emoji",
                "gallery_id": "0",
                "snapshot_id": "",
                "snapshot_author": "",
                "posts_count": 2,
                "likes_count": "",
                "category_index_id": 1,
                "user_id": 2,
                "first_post_id": 1937902,
                "last_post_id": 1937904,
                "is_pin": "",
                "last_user_name": "alicewang.eth",
                "categorys_id": 2405,
                "categorys_name": "2345678",
                "slug": "emoji-36682",
                "latest_reply": {
                    "user_id": 9055,
                    "user": {
                        "id": 9055,
                        "is_nfc": "0",
                        "name": "alicewang.eth",
                        "photo_url": "http://localhost:8002/img/default_avatar_1.png"
                    },
                    "online": false,
                    "badge": [],
                    "user_title": [],
                    "is_ban": ""
                },
                "first_post": {
                    "content":"[{\"insert\":{\"emoji\":{\"name\":\"hugging_face\",\"unicode\":\"1f917\"}}},{\"insert\":\"\\"},{\"insert\":{\"emoji\":{\"name\":\"joy\",\"unicode\":\"1f602\"}}},{\"insert\":{\"emoji\":{\"name\":\"smile\",\"unicode\":\"1f604\"}}},{\"insert\":\"\\n\"}]",
                    "deleted": "0",
                    "user_id": 2,
                    "nsfw": "0"
                },
                "category": {
                    "id": 2405,
                    "name": "2345678"
                }
            }
        ]
    }
}

Good to know: This API method was created using the API Method block, it's how you can build out an API method documentation from scratch. Have a play with the block and you'll see you can do some nifty things like add and reorder parameters, document responses, and give your methods detailed descriptions.

Last updated