Skip to main content
Ask a Question
Widgets & APIs
Asked a question 22 days ago

Does anyone have an example of the feed payload? Specifically I'm looking for the data returned in the post/topic property.

Where am I?

In Tribe you can ask and answer questions and share your experience with others!

Hi there,

Please find the payload below:- 
 

{
        "_id": "5f4d508c215f607159e89fbe",
        "shortId": "NBJ7O",
        "lang": "en",
        "updatedAt": "2020-08-31T19:33:32.325Z",
        "createdAt": "2020-08-31T19:33:32.302Z",
        "slug": "sample-post",
        "title": "Sample Post",
        "content": "<p> O'er all the hilltops Is quiet now,\n    In all the treetops\n    Hearest thou\n    Hardly a breath;<br />\n    The birds are asleep in the trees:<br />\n    Wait, soon like these<br />\n    Thou too shalt rest.\n</p>",
        "publishedAt": "2020-08-31T19:33:32.291Z",
        "portal": "5ee78ffa3746fe170e1b7d7a",
        "user": {
            "_id": "5f16fa4518daa42eb2ab5438",
            "profile": {
                "counts": {
                    "receivedLikes": 1,
                    "replies": 13,
                    "receivedDownloads": 2,
                    "downloads": 2,
                    "fileUploads": 1,
                    "groups": 7,
                    "requests": 0,
                    "edits": 0,
                    "questionsFollowers": 0,
                    "responses": 0,
                    "posts": 31,
                    "questions": 2,
                    "comments": 0,
                    "answersWords": 4,
                    "answersVotes": 0,
                    "answers": 2,
                    "views": 0,
                    "followings": 0,
                    "followers": 0
                },
                "score": 206,
                "verified": true,
                "badge": {
                    "text": "Tribe Team",
                    "type": "gold"
                },
                "description": "",
                "title": "Implementation Specialist",
                "banner": "",
                "picture": "https://static.t-cdn.net/5ee78ffa3746fe170e1b7d7a/users/5f16fa4518daa42eb2ab5438/5f16fa4518daa42eb2ab5438_87185.png4",
                "website": "",
                "location": "",
                "gender": "",
                "name": "CJ Verma",
                "username": "cj_verma"
            },
            "externalId": null,
            "id": "5f16fa4518daa42eb2ab5438"
        },
        "__v": 0,
        "lastActionAt": "2020-08-31T19:33:32.322Z",
        "synced": {
            "searchFailed": false,
            "search": true
        },
        "referrers": [],
        "downvotes": [],
        "upvotes": [],
        "comments": [],
        "rewards": [],
        "videos": [],
        "files": [],
        "images": [],
        "attachments": [],
        "links": [],
        "media": [],
        "topics": [
            {
                "_id": "5ee78ffa3746fe170e1b7d82",
                "name": "Upgrade",
                "picture": "/files/topics/2d7/5d1252bd871f3f4c313062d7_38174.png",
                "slug": "upgrade",
                "id": "5ee78ffa3746fe170e1b7d82"
            }
        ],
        "posters": [],
        "bookmarks": [],
        "followers": [],
        "score": 0,
        "counts": {
            "bookmarks": 0,
            "downvotes": 0,
            "links": 0,
            "totalUpvotes": 0,
            "upvotes": 0,
            "followers": 0,
            "edits": 0,
            "responses": 0,
            "comments": 0,
            "views": 0
        },
        "status": "published",
        "privacy": "public",
        "lastAction": {
            "verb": "create",
            "user": {
                "_id": "5f16fa4518daa42eb2ab5438",
                "profile": {
                    "counts": {
                        "receivedLikes": 1,
                        "replies": 13,
                        "receivedDownloads": 2,
                        "downloads": 2,
                        "fileUploads": 1,
                        "groups": 7,
                        "requests": 0,
                        "edits": 0,
                        "questionsFollowers": 0,
                        "responses": 0,
                        "posts": 31,
                        "questions": 2,
                        "comments": 0,
                        "answersWords": 4,
                        "answersVotes": 0,
                        "answers": 2,
                        "views": 0,
                        "followings": 0,
                        "followers": 0
                    },
                    "score": 206,
                    "verified": true,
                    "badge": {
                        "text": "Tribe Team",
                        "type": "gold"
                    },
                    "description": "",
                    "title": "Implementation Specialist",
                    "banner": "",
                    "picture": "https://static.t-cdn.net/5ee78ffa3746fe170e1b7d7a/users/5f16fa4518daa42eb2ab5438/5f16fa4518daa42eb2ab5438_87185.png4",
                    "website": "",
                    "location": "",
                    "gender": "",
                    "name": "CJ Verma",
                    "username": "cj_verma"
                },
                "externalId": null,
                "id": "5f16fa4518daa42eb2ab5438"
            }
        },
        "kind": "article",
        "type": "discussion",
        "anonymous": false,
        "verified": false,
        "responses": [],
        "summary": "O'er all the hilltops Is quiet now, In all the treetops Hearest thou Hardly a breath;\n The birds are asleep in the trees:\n Wait, soon like these\n Thou too shalt rest.",
        "id": "5f4d508c215f607159e89fbe",
        "upvoted": false,
        "downvoted": false,
        "followed": false,
        "bookmarked": false,
        "url": "/post/5f4d508c215f607159e89fbe",
        "api_url": "/posts/5f4d508c215f607159e89fbe"
    },