spec/fixtures/private_messages.json in discourse_api-0.10.1 vs spec/fixtures/private_messages.json in discourse_api-0.11.0
- old
+ new
@@ -1,69 +1,69 @@
-{
- "users": [
- {
- "id": 1,
- "username": "test_user",
- "uploaded_avatar_id": null,
- "avatar_template": "/letter_avatar/test_user/{size}/2.png"
- },
- {
- "id": 2,
- "username": "batman",
- "uploaded_avatar_id": 3,
- "avatar_template": "/user_avatar/localhost/batman/{size}/3.png"
- }
- ],
- "topic_list": {
- "can_create_topic": true,
- "draft": null,
- "draft_key": "new_topic",
- "draft_sequence": 1,
- "topics": [
- {
- "id": 11,
- "title": "Welcome to Discourse!",
- "fancy_title": "Welcome to Discourse!",
- "slug": "welcome-to-discourse",
- "posts_count": 1,
- "reply_count": 0,
- "highest_post_number": 1,
- "image_url": "http://www.discourse.org/images/welcome/progress-bar.png",
- "created_at": "2014-09-13T10:27:19.714-04:00",
- "last_posted_at": "2014-09-13T10:27:20.140-04:00",
- "bumped": true,
- "bumped_at": "2014-09-13T10:27:20.140-04:00",
- "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,
- "views": 1,
- "like_count": 0,
- "starred": false,
- "has_summary": false,
- "archetype": "private_message",
- "last_poster_username": "test_user",
- "category_id": null,
- "posters": [
- {
- "extras": null,
- "description": "Original Poster, Most Recent Poster",
- "user_id": 1
- }
- ],
- "participants": [
- {
- "extras": null,
- "description": null,
- "user_id": 2
- }
- ]
- }
- ]
- }
-}
+{
+ "users": [
+ {
+ "id": 1,
+ "username": "test_user",
+ "uploaded_avatar_id": null,
+ "avatar_template": "/letter_avatar/test_user/{size}/2.png"
+ },
+ {
+ "id": 2,
+ "username": "batman",
+ "uploaded_avatar_id": 3,
+ "avatar_template": "/user_avatar/localhost/batman/{size}/3.png"
+ }
+ ],
+ "topic_list": {
+ "can_create_topic": true,
+ "draft": null,
+ "draft_key": "new_topic",
+ "draft_sequence": 1,
+ "topics": [
+ {
+ "id": 11,
+ "title": "Welcome to Discourse!",
+ "fancy_title": "Welcome to Discourse!",
+ "slug": "welcome-to-discourse",
+ "posts_count": 1,
+ "reply_count": 0,
+ "highest_post_number": 1,
+ "image_url": "http://www.discourse.org/images/welcome/progress-bar.png",
+ "created_at": "2014-09-13T10:27:19.714-04:00",
+ "last_posted_at": "2014-09-13T10:27:20.140-04:00",
+ "bumped": true,
+ "bumped_at": "2014-09-13T10:27:20.140-04:00",
+ "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,
+ "views": 1,
+ "like_count": 0,
+ "starred": false,
+ "has_summary": false,
+ "archetype": "private_message",
+ "last_poster_username": "test_user",
+ "category_id": null,
+ "posters": [
+ {
+ "extras": null,
+ "description": "Original Poster, Most Recent Poster",
+ "user_id": 1
+ }
+ ],
+ "participants": [
+ {
+ "extras": null,
+ "description": null,
+ "user_id": 2
+ }
+ ]
+ }
+ ]
+ }
+}