Skip to content

Instantly share code, notes, and snippets.

@nickcoyne
Created April 30, 2017 00:17
Show Gist options
  • Save nickcoyne/a4ee1a772a3586a0225c85056e48b1a8 to your computer and use it in GitHub Desktop.
Save nickcoyne/a4ee1a772a3586a0225c85056e48b1a8 to your computer and use it in GitHub Desktop.
Discourse notifications response
{"notifications":[{"id":74,"notification_type":9,"read":false,"created_at":"2017-04-18T16:36:41.618Z","post_number":5,"topic_id":21,"slug":"lets-have-fun-here","data":{"topic_title":"Let's have fun here!","original_post_id":59,"original_post_type":1,"original_username":"abi","display_username":"4 replies"}},{"id":48,"notification_type":12,"read":true,"created_at":"2017-01-06T17:07:00.089Z","post_number":null,"topic_id":null,"slug":null,"data":{"badge_id":1,"badge_name":"Basic User","badge_slug":"basic","username":"nick"}},{"id":30,"notification_type":12,"read":false,"created_at":"2017-01-05T21:01:52.450Z","post_number":null,"topic_id":null,"slug":null,"data":{"badge_id":13,"badge_name":"First Flag","badge_slug":"first-flag","username":"nick"}},{"id":27,"notification_type":12,"read":false,"created_at":"2017-01-05T20:56:51.165Z","post_number":null,"topic_id":null,"slug":null,"data":{"badge_id":11,"badge_name":"First Like","badge_slug":"first-like","username":"nick"}},{"id":18,"notification_type":6,"read":true,"created_at":"2017-01-05T20:50:27.993Z","post_number":1,"topic_id":22,"slug":"group-messaging","data":{"topic_title":"Group messaging","original_post_id":26,"original_post_type":1,"original_username":"kara","display_username":"kara"}},{"id":12,"notification_type":6,"read":true,"created_at":"2017-01-05T20:47:48.223Z","post_number":1,"topic_id":20,"slug":"welcome-to-bv-trial","data":{"topic_title":"Welcome to BV Trial!","original_post_id":24,"original_post_type":1,"original_username":"system","display_username":"system"}}],"total_rows_notifications":6,"seen_notification_id":74,"load_more_notifications":"/notifications?offset=60&username=nick"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment