Files
rfd/tests/mock_data/threads_api_response.json
Dave Gallant 53666c643f add pre-commit and enforce on travis (#37)
* add pre-commit and enforce on travis
2019-10-14 22:18:01 -04:00

758 lines
22 KiB
JSON

{
"pager": {
"page": 1,
"per_page": 10,
"total": -1,
"total_on_page": 10,
"total_pages": -1
},
"topics": [
{
"author_id": 4437,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29395579,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29395579,
"last_post_time": "2018-06-01T14:46:14+00:00",
"last_poster_id": 4437,
"offer": {
"category_id": 5125,
"dealer_id": 0,
"dealer_name": "Carrytel",
"expires_at": "2018-06-14",
"price": "",
"savings": "",
"url": "https://www.carrytel.ca/3mfree.aspx"
},
"post_time": "2018-06-01T14:46:14+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "carrytel-sponsored-3-months-free-cable-75m-unlimited-internet-34-99-30-days-free-installation-modem-rental",
"status": 1,
"summary": {
"body": "",
"can_edit": false
},
"title": "[Sponsored] 3 Months Free, Cable 75M, Unlimited Internet $34.99/30 Days, Free Installation/Modem Rental",
"topic_id": 2197859,
"total_replies": 0,
"total_views": 2345,
"trader_type": null,
"type": 1,
"visibility": 1,
"votes": null,
"web_path": "/carrytel-sponsored-3-months-free-cable-75m-unlimited-internet-34-99-30-days-free-installation-modem-rental-2197859/"
},
{
"author_id": 1411026,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29284857,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401295,
"last_post_time": "2018-06-03T02:43:17+00:00",
"last_poster_id": 38695,
"offer": {
"category_id": 5123,
"dealer_id": 775,
"dealer_name": "Amazon Canada",
"expires_at": null,
"price": "$37.49",
"savings": "",
"url": "https://www.amazon.ca/gp/aw/d/B076H3SRXG/"
},
"post_time": "2018-05-03T15:06:55+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "amazon-ca-wyzecam-1080p-hd-wireless-smart-home-camera-v2-37-49",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "WyzeCam 1080p HD Wireless Smart Home Camera v2 $37.49",
"topic_id": 2191108,
"total_replies": 709,
"total_views": 129121,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 2,
"total_up": 94
},
"web_path": "/amazon-ca-wyzecam-1080p-hd-wireless-smart-home-camera-v2-37-49-2191108/"
},
{
"author_id": 68535,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29396697,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401292,
"last_post_time": "2018-06-03T02:41:57+00:00",
"last_poster_id": 37990,
"offer": {
"category_id": 9,
"dealer_id": 57,
"dealer_name": "Best Buy",
"expires_at": "2018-06-07",
"price": "169.99",
"savings": "",
"url": "https://m.bestbuy.ca/en-CA/product/jabra-elite-65t-in-ear-noise-cancelling-truly-wireless-bluetooth-headphones-with-mic-black/12321947"
},
"post_time": "2018-06-01T18:36:28+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "best-buy-jabra-elite-65t-169-99",
"status": 0,
"summary": {
"body": "Desktop / non-mobile link: <a href=\"https://www.bestbuy.ca/en-ca/product/jabra-elite-65t-in-ear-noise-cancelling-truly-wireless-bluetooth-headphones-with-mic-black/12321947.aspx\" rel=\"nofollow noreferrer\" target=\"_blank\" class=\"postlink\">https://www.bestbuy.ca/en-ca/product/ja ... 21947.aspx</a>",
"can_edit": false
},
"title": "Jabra Elite 65T $169.99",
"topic_id": 2197916,
"total_replies": 37,
"total_views": 6171,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 0,
"total_up": 8
},
"web_path": "/best-buy-jabra-elite-65t-169-99-2197916/"
},
{
"author_id": 1408083,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29401248,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401285,
"last_post_time": "2018-06-03T02:34:19+00:00",
"last_poster_id": 26936,
"offer": {
"category_id": 5142,
"dealer_id": 775,
"dealer_name": "Amazon Canada",
"expires_at": null,
"price": "9.47",
"savings": "28% off",
"url": "https://www.amazon.ca/Glad-Cling-Wrap-Plastic-Metre/dp/B01GZTGTWW/ref=sr_1_6?ie=UTF8&amp;qid=1527978057&amp;sr=8-6&amp;keywords=cling+film"
},
"post_time": "2018-06-03T02:13:45+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "amazon-ca-glad-cling-wrap-plastic-wrap-300-metre-roll-best-price-9-47",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "Glad Cling Wrap Plastic Wrap, 300 Metre Roll - best price $9.47",
"topic_id": 2198211,
"total_replies": 1,
"total_views": 264,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 0,
"total_up": 1
},
"web_path": "/amazon-ca-glad-cling-wrap-plastic-wrap-300-metre-roll-best-price-9-47-2198211/"
},
{
"author_id": 1364941,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29351891,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401283,
"last_post_time": "2018-06-03T02:33:41+00:00",
"last_poster_id": 69083,
"offer": {
"category_id": 5136,
"dealer_id": 110,
"dealer_name": "Costco",
"expires_at": "2018-06-03",
"price": "$599",
"savings": "",
"url": "https://m.costco.ca/.product.2414104.html"
},
"post_time": "2018-05-21T07:29:13+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "costco-firman-3300-inverter-generator-599",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "Firman 3300 inverter generator $599",
"topic_id": 2195171,
"total_replies": 124,
"total_views": 18634,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 0,
"total_up": 17
},
"web_path": "/costco-firman-3300-inverter-generator-599-2195171/"
},
{
"author_id": 265861,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29400944,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401282,
"last_post_time": "2018-06-03T02:33:04+00:00",
"last_poster_id": 311667,
"offer": {
"category_id": 5139,
"dealer_id": 450,
"dealer_name": "Walmart",
"expires_at": null,
"price": "199",
"savings": "50% off",
"url": "https://www.walmart.ca/en/ip/kitchenaid-275w-classic-plus-stand-mixer-ksm75sl/6000195341286"
},
"post_time": "2018-06-03T00:05:40+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "walmart-hot-kitchenaid-stand-mixer-199",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "HOT - KitchenAid Stand Mixer - $199",
"topic_id": 2198199,
"total_replies": 8,
"total_views": 1334,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 1,
"total_up": 4
},
"web_path": "/walmart-hot-kitchenaid-stand-mixer-199-2198199/"
},
{
"author_id": 177843,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29400374,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401280,
"last_post_time": "2018-06-03T02:32:09+00:00",
"last_poster_id": 1373719,
"offer": {
"category_id": 5119,
"dealer_id": 775,
"dealer_name": "Amazon Canada",
"expires_at": null,
"price": "119.92",
"savings": "13%",
"url": "https://www.amazon.ca/Seagate-Expansion-Portable-External-STEA4000400/dp/B017KE8OG0/ref=pd_cart_crc_sbs_2_1?_encoding=UTF8&amp;pd_rd_i=B017KE8OG0&amp;pd_rd_r=19RNAC5G5MN50M7THMXQ&amp;pd_rd_w=NPMyB&amp;pd_rd_wg=2y64K&amp;pf_rd_i=cart-page-widgets&amp;pf_rd_m=A3DWYIK6Y9EEQB&amp;pf_rd_p=1228945996396599610&amp;pf_rd_r=19RNAC5G5MN50M7THMXQ&amp;pf_rd_s=cart-page-widgets&amp;pf_rd_t=40701&amp;psc=1&amp;refRID=19RNAC5G5MN50M7THMXQ"
},
"post_time": "2018-06-02T20:12:30+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "amazon-ca-seagate-expansion-4tb-portable-external-hard-drive-usb-3-0-stea4000400-119-92",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "Seagate Expansion 4TB Portable External Hard Drive USB 3.0 (STEA4000400) $119.92",
"topic_id": 2198164,
"total_replies": 4,
"total_views": 827,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 1,
"total_up": 0
},
"web_path": "/amazon-ca-seagate-expansion-4tb-portable-external-hard-drive-usb-3-0-stea4000400-119-92-2198164/"
},
{
"author_id": 1431114,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29401272,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401272,
"last_post_time": "2018-06-03T02:25:50+00:00",
"last_poster_id": 1431114,
"offer": {
"category_id": 5,
"dealer_id": 0,
"dealer_name": "",
"expires_at": null,
"price": "",
"savings": "",
"url": "https://www.amazon.ca/WORKSHOP-Wet-Dry-Vacs-WS0500ASH/dp/B01983NYD4/ref=as_li_ss_tl?ie=UTF8&amp;linkCode=ll1&amp;tag=ybbs-20&amp;linkId=d729e8e2fc16a114465332d984ab914d"
},
"post_time": "2018-06-03T02:25:50+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "workshop-wet-dry-vacs-ash-vacuum-cleaner-ws0500ash-5-gallon-ash-vac-65-off-now-48-54",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "WORKSHOP Wet Dry Vacs Ash Vacuum Cleaner WS0500ASH, 5-Gallon Ash Vac 65% Off, Now: $48.54",
"topic_id": 2198212,
"total_replies": 0,
"total_views": 129,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 0,
"total_up": 0
},
"web_path": "/workshop-wet-dry-vacs-ash-vacuum-cleaner-ws0500ash-5-gallon-ash-vac-65-off-now-48-54-2198212/"
},
{
"author_id": 446796,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29400815,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401270,
"last_post_time": "2018-06-03T02:24:50+00:00",
"last_poster_id": 1379113,
"offer": {
"category_id": 5127,
"dealer_id": 491,
"dealer_name": "The Source",
"expires_at": null,
"price": "$19.99",
"savings": "",
"url": "https://www.thesource.ca/en-ca/gaming/nintendo-switch/nintendo-switch-games/nba-2k18-for-nintendo-switch/p/108070285"
},
"post_time": "2018-06-02T23:03:52+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "the-source-nba-2k18-nintendo-switch-19-99-16-99-pm",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "NBA 2K18 (Nintendo Switch) -$19.99 or $16.99 PM",
"topic_id": 2198191,
"total_replies": 1,
"total_views": 957,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 0,
"total_up": 4
},
"web_path": "/the-source-nba-2k18-nintendo-switch-19-99-16-99-pm-2198191/"
},
{
"author_id": 690944,
"can_reply": false,
"can_report": false,
"can_subscribe": false,
"first_post_id": 29400002,
"forum_id": 9,
"has_new_post": false,
"has_replied": false,
"is_poll": false,
"is_subscribed": false,
"last_post_id": 29401267,
"last_post_time": "2018-06-03T02:22:46+00:00",
"last_poster_id": 835285,
"offer": {
"category_id": 12,
"dealer_id": 112,
"dealer_name": "Crocs",
"expires_at": null,
"price": "vary",
"savings": "40% off",
"url": "https://www.crocs.ca/sale/crocs-deals,en_CA,sc.html"
},
"post_time": "2018-06-02T18:05:22+00:00",
"prefix": null,
"shadow_type": 0,
"slug": "crocs-crocs-ca-40-off-select-style-checkout",
"status": 0,
"summary": {
"body": "",
"can_edit": false
},
"title": "CROCS.CA 40%OFF Select style - at checkout",
"topic_id": 2198145,
"total_replies": 4,
"total_views": 1247,
"trader_type": null,
"type": 0,
"visibility": 1,
"votes": {
"can_vote_down": false,
"can_vote_up": false,
"current_vote": 0,
"total_down": 0,
"total_up": 5
},
"web_path": "/crocs-crocs-ca-40-off-select-style-checkout-2198145/"
}
],
"users": [
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 4,
"is_local_deals_admin": false,
"join_date": "2003-05-18T16:00:00+00:00",
"location": "",
"rank": "Moderator",
"total_posts": 7987,
"user_id": 4437,
"username": "RedFlagDeals.com"
},
{
"avatar_height": 32,
"avatar_url": "https://forums.redflagdeals.com/avatar/26936_1470311361.gif",
"avatar_width": 32,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2005-07-25T14:30:43+00:00",
"location": "",
"rank": "Deal Addict",
"total_posts": 1335,
"user_id": 26936,
"username": "ahoroba"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2006-01-16T22:54:23+00:00",
"location": "Richmond Hill",
"rank": "Penalty Box",
"total_posts": 9184,
"user_id": 37990,
"username": "EP32k2"
},
{
"avatar_height": 100,
"avatar_url": "https://forums.redflagdeals.com/avatar/38695_1484397258.jpg",
"avatar_width": 95,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2006-01-29T16:04:31+00:00",
"location": "Brampton",
"rank": "Member",
"total_posts": 334,
"user_id": 38695,
"username": "astigdealz"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2006-12-01T17:32:38+00:00",
"location": "Toronto",
"rank": "Member",
"total_posts": 236,
"user_id": 68535,
"username": "vanhalen26"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2006-12-04T19:51:16+00:00",
"location": "Craven",
"rank": "Member",
"total_posts": 358,
"user_id": 69083,
"username": "Imago"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2008-08-25T16:38:10+00:00",
"location": "Victoria",
"rank": "Member",
"total_posts": 497,
"user_id": 177843,
"username": "voodoo22"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2009-10-28T21:56:08+00:00",
"location": "Waterloo, ON, Canada",
"rank": "Newbie",
"total_posts": 15,
"user_id": 265861,
"username": "pvdv"
},
{
"avatar_height": 80,
"avatar_url": "https://forums.redflagdeals.com/avatar/311667_1470311465.jpg",
"avatar_width": 100,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2010-06-14T19:23:15+00:00",
"location": "GTA",
"rank": "Deal Addict",
"total_posts": 1158,
"user_id": 311667,
"username": "tew"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2011-07-24T23:56:20+00:00",
"location": "Ottawa",
"rank": "Member",
"total_posts": 261,
"user_id": 446796,
"username": "cain2589"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2013-11-08T16:06:10+00:00",
"location": "Montreal",
"rank": "Sr. Member",
"total_posts": 833,
"user_id": 690944,
"username": "Bessem"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2015-12-06T12:36:38+00:00",
"location": "Verdun, QC",
"rank": "Member",
"total_posts": 250,
"user_id": 835285,
"username": "tark514"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2016-08-19T07:04:00+00:00",
"location": "",
"rank": "Newbie",
"total_posts": 41,
"user_id": 1364941,
"username": "Susanclark"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2016-11-26T23:55:52+00:00",
"location": "",
"rank": "Newbie",
"total_posts": 52,
"user_id": 1373719,
"username": "natrill"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2017-01-20T04:10:14+00:00",
"location": "",
"rank": "Newbie",
"total_posts": 13,
"user_id": 1379113,
"username": "thyeri"
},
{
"avatar_height": 100,
"avatar_url": "https://forums.redflagdeals.com/avatar/1408083_1511554534.jpg",
"avatar_width": 100,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2017-11-09T02:55:42+00:00",
"location": "",
"rank": "Newbie",
"total_posts": 81,
"user_id": 1408083,
"username": "Kyuuan"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2017-11-27T01:18:10+00:00",
"location": "",
"rank": "Newbie",
"total_posts": 4,
"user_id": 1411026,
"username": "HeyAgain88"
},
{
"avatar_height": null,
"avatar_url": null,
"avatar_width": null,
"can_send_messages": true,
"can_view_messages": true,
"group": 2,
"is_local_deals_admin": false,
"join_date": "2018-05-24T14:34:30+00:00",
"location": "",
"rank": "Newbie",
"total_posts": 6,
"user_id": 1431114,
"username": "askmenow"
}
]
}