User Post List

Get user's post list and category info, by user wallet address.

GET https://metaforo.io/api/user/post/list

Note: Fields with * are required, others are optional.

Headers

Name
Type
Description

mf-api-key*

String

API Key. Ask Metaforo for it if don't have it.

Request Body

Name
Type
Description

web3_public_key*

String

User's wallet address.

per_page

Int

Default is 10. For pagination: how many posts return in one page.

page

Int

Default is 1. For Pagination.

Sample CURL Request:

curl --location --request GET 'https://metaforo.io/api/user/post/list?web3_public_key=0x4cf9862237847002af96ca3cfd484592c18a7bcd&per_page=2' --header 'mf-api-key: metaforo_test'

Responses

{
    "status": true,
    "code": 20000,
    "description": "",
    "server": "rest",
    "data": {
        "posts": [
            {
                "id": 1945911,
                "thread_id": 38422,
                "created_at": "2022-09-26T03:45:43.000000Z",
                "updated_at": "2022-09-26T03:45:55.000000Z",
                "content":"[{\"insert\":\"\不\错\\n\"}]",
                "parent_id": -1,
                "user_id": 29351,
                "nsfw": 0,
                "deleted": 0,
                "sign": null,
                "deleted_by": 0,
                "group_id": 9298,
                "arweave": "YWQfSvfgadpIiIxxwfbF0rPpdPf_A-2XuqdZIa4N2d8",
                "reply_uid": 0,
                "category_id": 2631,
                "category_name": "General Discussions",
                "total_likes": null,
                "total_report": null
            },
            {
                "id": 1945928,
                "thread_id": 39775,
                "created_at": "2022-09-26T09:11:24.000000Z",
                "updated_at": "2022-09-26T09:11:36.000000Z",
                "content": "[{\"insert\":\"test\\n\"}]",
                "parent_id": -1,
                "user_id": 29351,
                "nsfw": 0,
                "deleted": 0,
                "sign": null,
                "deleted_by": 0,
                "group_id": 9437,
                "arweave": "c1T_fps-qGmPmR35pr2p0Gh6d76drBl9zNQwuuWrw-w",
                "reply_uid": 0,
                "category_id": 2954,
                "category_name": "General Discussions",
                "total_likes": null,
                "total_report": null
            }
        ]
    }
}

Last updated