Skip to content

Instantly share code, notes, and snippets.

@alxpck
Created April 25, 2018 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alxpck/3745ed556763a0262254aaff091a4587 to your computer and use it in GitHub Desktop.
Save alxpck/3745ed556763a0262254aaff091a4587 to your computer and use it in GitHub Desktop.
Response object from using a tag filter on Discourse
{
"users": [{
"id": 8,
"username": "altmba",
"avatar_template": "/user_avatar/altmba00.altmba.com/altmba/{size}/13_1.png"
}],
"primary_groups": [],
"topic_list": {
"can_create_topic": true,
"draft": null,
"draft_key": "new_topic",
"draft_sequence": 28,
"per_page": 30,
"top_tags": ["prompt-1"],
"tags": [{
"id": 1,
"name": "prompt-1",
"topic_count": 1
}],
"topics": [{
"id": 227,
"title": "test",
"fancy_title": "test",
"slug": "test",
"posts_count": 1,
"reply_count": 0,
"highest_post_number": 1,
"image_url": null,
"created_at": "2018-04-25T18:38:26.201Z",
"last_posted_at": "2018-04-25T18:38:26.310Z",
"bumped": true,
"bumped_at": "2018-04-25T18:39:16.417Z",
"unseen": false,
"last_read_post_number": 1,
"unread": 0,
"new_posts": 0,
"pinned": false,
"unpinned": null,
"visible": true,
"closed": false,
"archived": false,
"notification_level": 3,
"bookmarked": false,
"liked": false,
"tags": ["prompt-1"],
"views": 1,
"like_count": 0,
"has_summary": false,
"archetype": "regular",
"last_poster_username": "altmba",
"category_id": 42,
"pinned_globally": false,
"featured_link": null,
"has_accepted_answer": false,
"vote_count": null,
"can_vote": false,
"user_voted": false,
"posters": [{
"extras": "latest single",
"description": "Original Poster, Most Recent Poster",
"user_id": 8,
"primary_group_id": null
}]
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment