Wait… so when I load https://meta.discourse.org/c/support.json
I see a users
section at the very top and then for each topic I see something similar to
"topics": [
{
"id": 46837,
"title": "Can the API return the topic's original author?",
"fancy_title": "Can the API return the topic’s original author?",
"slug": "can-the-api-return-the-topics-original-author",
"posts_count": 4,
"reply_count": 0,
"highest_post_number": 4,
"image_url": null,
"created_at": "2016-07-05T07:52:03.351Z",
"last_posted_at": "2016-07-16T11:56:33.660Z",
"bumped": true,
"bumped_at": "2016-07-16T11:56:33.660Z",
"unseen": false,
"last_read_post_number": 4,
"unread": 0,
"new_posts": 0,
"pinned": false,
"unpinned": null,
"visible": true,
"closed": false,
"archived": false,
"notification_level": 3,
"bookmarked": false,
"liked": false,
"views": 120,
"like_count": 6,
"has_summary": false,
"archetype": "regular",
"last_poster_username": "Yegor",
"category_id": 6,
"pinned_globally": false,
"tags": [
],
"has_accepted_answer": false,
"posters": [
{
"extras": null,
"description": "Original Poster",
"user_id": 19898
},
{
"extras": null,
"description": "Frequent Poster",
"user_id": 8810
},
{
"extras": null,
"description": "Frequent Poster",
"user_id": 8300
},
{
"extras": "latest",
"description": "Most Recent Poster",
"user_id": 22733
}
]
}
There is a poster’s section for each topic, that has one with the description of ‘Original Poster’, which identifies with a user id in the users
section. Is that not what you need?
Sample of users
section
"users": [
{
"id": 19898,
"username": "keith1",
"avatar_template": "https: //avatars.discourse.org/v3/letter/k/6de8d8/{ size }.png"
},
{
"id": 8810,
"username": "fantasticfears",
"avatar_template": "/user_avatar/meta.discourse.org/fantasticfears/{ size }/51902_1.png"
},
{
"id": 8300,
"username": "cpradio",
"avatar_template": "/user_avatar/meta.discourse.org/cpradio/{ size }/4970_1.png"
}
]