ribose 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +539 -970
- data/.sample.pryrc +4 -0
- data/CHANGELOG.md +5 -0
- data/README.md +539 -3
- data/bin/console +2 -5
- data/lib/ribose.rb +31 -1
- data/lib/ribose/actions.rb +10 -0
- data/lib/ribose/actions/all.rb +43 -0
- data/lib/ribose/actions/base.rb +11 -0
- data/lib/ribose/actions/create.rb +44 -0
- data/lib/ribose/actions/delete.rb +32 -0
- data/lib/ribose/actions/fetch.rb +44 -0
- data/lib/ribose/actions/update.rb +35 -0
- data/lib/ribose/app_data.rb +15 -0
- data/lib/ribose/app_relation.rb +12 -0
- data/lib/ribose/base.rb +48 -0
- data/lib/ribose/calendar.rb +22 -0
- data/lib/ribose/client.rb +31 -0
- data/lib/ribose/config.rb +21 -0
- data/lib/ribose/configuration.rb +25 -0
- data/lib/ribose/connection.rb +39 -0
- data/lib/ribose/connection_invitation.rb +51 -0
- data/lib/ribose/conversation.rb +87 -0
- data/lib/ribose/error.rb +30 -0
- data/lib/ribose/feed.rb +11 -0
- data/lib/ribose/file_uploader.rb +93 -0
- data/lib/ribose/join_space_request.rb +41 -0
- data/lib/ribose/leaderboard.rb +19 -0
- data/lib/ribose/member.rb +34 -0
- data/lib/ribose/message.rb +94 -0
- data/lib/ribose/profile.rb +56 -0
- data/lib/ribose/request.rb +122 -0
- data/lib/ribose/resource_helper.rb +81 -0
- data/lib/ribose/response/raise_error.rb +15 -0
- data/lib/ribose/rspec.rb +19 -0
- data/lib/ribose/session.rb +48 -0
- data/lib/ribose/setting.rb +16 -0
- data/lib/ribose/space.rb +30 -0
- data/lib/ribose/space_file.rb +49 -0
- data/lib/ribose/space_invitation.rb +70 -0
- data/lib/ribose/stream.rb +15 -0
- data/lib/ribose/user.rb +42 -0
- data/lib/ribose/version.rb +1 -1
- data/lib/ribose/widget.rb +11 -0
- data/lib/ribose/wiki.rb +80 -0
- data/ribose.gemspec +6 -0
- data/spec/fixtures/app_data.json +188 -0
- data/spec/fixtures/app_relation.json +19 -0
- data/spec/fixtures/app_relations.json +89 -0
- data/spec/fixtures/calendar.json +12 -0
- data/spec/fixtures/calendars.json +34 -0
- data/spec/fixtures/connection_invitation.json +26 -0
- data/spec/fixtures/connection_invitation_accepted.json +26 -0
- data/spec/fixtures/connection_invitations.json +28 -0
- data/spec/fixtures/connection_invitations_created.json +37 -0
- data/spec/fixtures/connection_suggestion.json +22 -0
- data/spec/fixtures/connections.json +28 -0
- data/spec/fixtures/conversation.json +26 -0
- data/spec/fixtures/conversation_created.json +31 -0
- data/spec/fixtures/conversations.json +34 -0
- data/spec/fixtures/empty.json +1 -0
- data/spec/fixtures/feeds.json +84 -0
- data/spec/fixtures/file_upload_prepared.json +17 -0
- data/spec/fixtures/file_uploaded.json +38 -0
- data/spec/fixtures/general_information.json +16 -0
- data/spec/fixtures/join_space_request_created.json +26 -0
- data/spec/fixtures/join_space_request_updated.json +25 -0
- data/spec/fixtures/join_space_requests.json +34 -0
- data/spec/fixtures/leaderboard.json +21 -0
- data/spec/fixtures/login.html +323 -0
- data/spec/fixtures/members.json +20 -0
- data/spec/fixtures/message.json +22 -0
- data/spec/fixtures/messages.json +24 -0
- data/spec/fixtures/ping.json +3 -0
- data/spec/fixtures/profile.json +10 -0
- data/spec/fixtures/sample.png +0 -0
- data/spec/fixtures/setting.json +16 -0
- data/spec/fixtures/settings.json +18 -0
- data/spec/fixtures/space.json +59 -0
- data/spec/fixtures/space_created.json +59 -0
- data/spec/fixtures/space_file.json +58 -0
- data/spec/fixtures/space_invitation.json +32 -0
- data/spec/fixtures/space_invitation_updated.json +35 -0
- data/spec/fixtures/space_invitations.json +34 -0
- data/spec/fixtures/space_mass_invitations.json +46 -0
- data/spec/fixtures/spaces.json +61 -0
- data/spec/fixtures/stream.json +176 -0
- data/spec/fixtures/user_activated.json +6 -0
- data/spec/fixtures/widgets.json +50 -0
- data/spec/fixtures/wiki.json +79 -0
- data/spec/fixtures/wikis.json +197 -0
- data/spec/ribose/actions/create_spec.rb +40 -0
- data/spec/ribose/actions/delete_spec.rb +24 -0
- data/spec/ribose/actions/fetch_spec.rb +32 -0
- data/spec/ribose/actions/update_spec.rb +36 -0
- data/spec/ribose/app_data_spec.rb +15 -0
- data/spec/ribose/app_relation_spec.rb +27 -0
- data/spec/ribose/calendar_spec.rb +50 -0
- data/spec/ribose/client_spec.rb +48 -0
- data/spec/ribose/config_spec.rb +41 -0
- data/spec/ribose/connection_invitation_spec.rb +79 -0
- data/spec/ribose/connection_spec.rb +26 -0
- data/spec/ribose/conversation_spec.rb +84 -0
- data/spec/ribose/error_spec.rb +67 -0
- data/spec/ribose/feed_spec.rb +14 -0
- data/spec/ribose/file_uploader_spec.rb +30 -0
- data/spec/ribose/join_space_request_spec.rb +70 -0
- data/spec/ribose/leaderboard_spec.rb +13 -0
- data/spec/ribose/member_spec.rb +16 -0
- data/spec/ribose/message_spec.rb +69 -0
- data/spec/ribose/profile_spec.rb +40 -0
- data/spec/ribose/request_spec.rb +66 -0
- data/spec/ribose/resource_helper_spec.rb +58 -0
- data/spec/ribose/session_spec.rb +46 -0
- data/spec/ribose/setting_spec.rb +40 -0
- data/spec/ribose/space_file_spec.rb +41 -0
- data/spec/ribose/space_invitation_spec.rb +117 -0
- data/spec/ribose/space_spec.rb +70 -0
- data/spec/ribose/stream_spec.rb +14 -0
- data/spec/ribose/user_spec.rb +48 -0
- data/spec/ribose/widget_spec.rb +14 -0
- data/spec/ribose/wiki_spec.rb +67 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/support/fake_ribose_api.rb +431 -0
- data/spec/support/file_upload_stub.rb +76 -0
- metadata +190 -3
- data/spec/ribose_spec.rb +0 -4
@@ -0,0 +1,89 @@
|
|
1
|
+
{
|
2
|
+
"app_relations": [
|
3
|
+
{
|
4
|
+
"id": 107948,
|
5
|
+
"app_name": "app/home",
|
6
|
+
"enabled": true,
|
7
|
+
"name": null,
|
8
|
+
"order_id": 0,
|
9
|
+
"used_storage": 0,
|
10
|
+
"owner_type": "User",
|
11
|
+
"owner_id": "63116bd1-c08d",
|
12
|
+
"system": true,
|
13
|
+
"app_type": "home",
|
14
|
+
"space_id": null,
|
15
|
+
"namespace": "home",
|
16
|
+
"show_in_menu?": true,
|
17
|
+
"uses_email_notifications?": false,
|
18
|
+
"searchable?": true
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"id": 107949,
|
22
|
+
"app_name": "app/calendar",
|
23
|
+
"enabled": true,
|
24
|
+
"name": null,
|
25
|
+
"order_id": 1,
|
26
|
+
"used_storage": 0,
|
27
|
+
"owner_type": "User",
|
28
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
29
|
+
"system": true,
|
30
|
+
"app_type": "calendar",
|
31
|
+
"space_id": null,
|
32
|
+
"namespace": "calendar",
|
33
|
+
"show_in_menu?": true,
|
34
|
+
"uses_email_notifications?": true,
|
35
|
+
"searchable?": true
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"id": 107950,
|
39
|
+
"app_name": "app/message",
|
40
|
+
"enabled": true,
|
41
|
+
"name": null,
|
42
|
+
"order_id": 2,
|
43
|
+
"used_storage": 0,
|
44
|
+
"owner_type": "User",
|
45
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
46
|
+
"system": true,
|
47
|
+
"app_type": "inbox",
|
48
|
+
"space_id": null,
|
49
|
+
"namespace": "inbox",
|
50
|
+
"show_in_menu?": true,
|
51
|
+
"uses_email_notifications?": false,
|
52
|
+
"searchable?": true
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"id": 107951,
|
56
|
+
"app_name": "app/person",
|
57
|
+
"enabled": true,
|
58
|
+
"name": null,
|
59
|
+
"order_id": 3,
|
60
|
+
"used_storage": 0,
|
61
|
+
"owner_type": "User",
|
62
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
63
|
+
"system": true,
|
64
|
+
"app_type": "people",
|
65
|
+
"space_id": null,
|
66
|
+
"namespace": "people",
|
67
|
+
"show_in_menu?": true,
|
68
|
+
"uses_email_notifications?": false,
|
69
|
+
"searchable?": true
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"id": 107952,
|
73
|
+
"app_name": "app/search",
|
74
|
+
"enabled": true,
|
75
|
+
"name": null,
|
76
|
+
"order_id": 4,
|
77
|
+
"used_storage": 0,
|
78
|
+
"owner_type": "User",
|
79
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
80
|
+
"system": true,
|
81
|
+
"app_type": "search",
|
82
|
+
"space_id": null,
|
83
|
+
"namespace": "search",
|
84
|
+
"show_in_menu?": false,
|
85
|
+
"uses_email_notifications?": false,
|
86
|
+
"searchable?": false
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"calendar": {
|
3
|
+
"id": 19816,
|
4
|
+
"owner_type": "User",
|
5
|
+
"name": "Sample 101",
|
6
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
7
|
+
"owner_name": "Personal",
|
8
|
+
"display_name": "Sample 101 (Personal)",
|
9
|
+
"can_manage": true,
|
10
|
+
"can_create_event": true
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"filter": {
|
3
|
+
"enabled": [
|
4
|
+
19706,
|
5
|
+
19707
|
6
|
+
],
|
7
|
+
"userSetting": []
|
8
|
+
},
|
9
|
+
"cal_info": [
|
10
|
+
{
|
11
|
+
"id": 19706,
|
12
|
+
"owner_type": "User",
|
13
|
+
"name": "john.doe",
|
14
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
15
|
+
"owner_name": "Personal",
|
16
|
+
"display_name": "john.doe (Personal)",
|
17
|
+
"can_manage": true,
|
18
|
+
"can_create_event": true
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"id": 19707,
|
22
|
+
"owner_type": "Space",
|
23
|
+
"name": "Work",
|
24
|
+
"owner_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
25
|
+
"owner_name": "Work",
|
26
|
+
"display_name": "Work (Work)",
|
27
|
+
"can_manage": true,
|
28
|
+
"can_create_event": true
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"spaces_permission": {
|
32
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc": true
|
33
|
+
}
|
34
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"to_connection": {
|
3
|
+
"id": 27748,
|
4
|
+
"email": "jennie.doe@example.com",
|
5
|
+
"body": "Hello,\n\nI'd like to invite you to collaborate with me on Ribose, a cloud collaboration platform that makes working together easy and fun.\n\nSimply accept this invitation to continue. Thanks!\n",
|
6
|
+
"created_at": "2017-09-20T08:22:55.000+00:00",
|
7
|
+
"state": 0,
|
8
|
+
"type": "Invitation::ToConnection",
|
9
|
+
"updated_at": "2017-09-20T08:22:55.000+00:00",
|
10
|
+
"invitee": {
|
11
|
+
"id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
12
|
+
"connected": true,
|
13
|
+
"name": "John Doe",
|
14
|
+
"mutual_spaces": [
|
15
|
+
"268b0407-c3a3-4aad-8693-fdba789f7f0d",
|
16
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc"
|
17
|
+
]
|
18
|
+
},
|
19
|
+
"inviter": {
|
20
|
+
"id": "2970d105-5ccc-4a8c-b0c4-ec32d539a00a",
|
21
|
+
"connected": false,
|
22
|
+
"name": "Jennie Doe",
|
23
|
+
"mutual_spaces": []
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"to_connection": {
|
3
|
+
"id": 27751,
|
4
|
+
"email": "john.doe@example.com",
|
5
|
+
"body": "Hello,\n\nI'd like to invite you to collaborate with me on Ribose, a cloud collaboration platform that makes working together easy and fun.\n\nSimply accept this invitation to continue. Thanks!\n",
|
6
|
+
"created_at": "2017-09-27T04:42:34.000+00:00",
|
7
|
+
"state": 1,
|
8
|
+
"type": "Invitation::ToConnection",
|
9
|
+
"updated_at": "2017-09-27T04:44:28.000+00:00",
|
10
|
+
"invitee": {
|
11
|
+
"id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
12
|
+
"connected": true,
|
13
|
+
"name": "John Doe",
|
14
|
+
"mutual_spaces": [
|
15
|
+
"268b0407-c3a3-4aad-8693-fdba789f7f0d",
|
16
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc"
|
17
|
+
]
|
18
|
+
},
|
19
|
+
"inviter": {
|
20
|
+
"id": "2970d105-5ccc-4a8c-b0c4-ec32d539a00a",
|
21
|
+
"connected": true,
|
22
|
+
"name": "Jennie Doe",
|
23
|
+
"mutual_spaces": []
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"to_connections": [
|
3
|
+
{
|
4
|
+
"id": 27742,
|
5
|
+
"email": "john.doe@example.com",
|
6
|
+
"body": "Hello,\n\nI'd like to invite you to collaborate with me on Ribose, a cloud collaboration platform that makes working together easy and fun.\n\nSimply accept this invitation to continue. Thanks!\n",
|
7
|
+
"created_at": "2017-09-19T08:18:16.000+00:00",
|
8
|
+
"state": 0,
|
9
|
+
"type": "Invitation::ToConnection",
|
10
|
+
"updated_at": "2017-09-19T08:18:16.000+00:00",
|
11
|
+
"invitee": {
|
12
|
+
"id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
13
|
+
"connected": true,
|
14
|
+
"name": "John Doe",
|
15
|
+
"mutual_spaces": [
|
16
|
+
"268b0407-c3a3-4aad-8693-fdba789f7f0d",
|
17
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc"
|
18
|
+
]
|
19
|
+
},
|
20
|
+
"inviter": {
|
21
|
+
"id": "2970d105-5ccc-4a8c-b0c4-ec32d539a00a",
|
22
|
+
"connected": false,
|
23
|
+
"name": "Jennie Doe",
|
24
|
+
"mutual_spaces": []
|
25
|
+
}
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"invitations": {
|
3
|
+
"success": {
|
4
|
+
"emails": {
|
5
|
+
"jennie.doe@example.com": {
|
6
|
+
"id": 27756,
|
7
|
+
"email": "jennie.doe@example.com",
|
8
|
+
"body": "Hi, Let's get connected in Ribose",
|
9
|
+
"created_at": "2017-09-27T07:54:01.305+00:00",
|
10
|
+
"state": 0,
|
11
|
+
"type": "Invitation::ToConnection",
|
12
|
+
"updated_at": "2017-09-27T07:54:01.416Z",
|
13
|
+
"invitee": {
|
14
|
+
"id": "2970d105-5ccc-4a8c-b0c4-ec32d539a00a",
|
15
|
+
"connected": false,
|
16
|
+
"name": "Jennie Doe",
|
17
|
+
"mutual_spaces": []
|
18
|
+
},
|
19
|
+
"inviter": {
|
20
|
+
"id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
21
|
+
"connected": true,
|
22
|
+
"name": "John Doe",
|
23
|
+
"mutual_spaces": [
|
24
|
+
"268b0407-c3a3-4aad-8693-fdba789f7f0d",
|
25
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc"
|
26
|
+
]
|
27
|
+
}
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"user_ids": {}
|
31
|
+
},
|
32
|
+
"errors": {
|
33
|
+
"emails": {},
|
34
|
+
"user_ids": {}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"suggested_connection": [
|
3
|
+
{
|
4
|
+
"id": "7275d94c-f308-57f3-9de0-a0e96e42e9b8",
|
5
|
+
"name": "Jennie Doe",
|
6
|
+
"connected": false,
|
7
|
+
"mutual_spaces": []
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"id": "a41fa707-67e7-54e7-b50d-5f0edfd9ee17",
|
11
|
+
"name": "John Smith",
|
12
|
+
"connected": false,
|
13
|
+
"mutual_spaces": []
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"id": "db0a2f2d-6241-4cdb-934a-1ac9e3deedd5",
|
17
|
+
"name": "Jonna Smith",
|
18
|
+
"connected": false,
|
19
|
+
"mutual_spaces": []
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"requested_at": 5882845244,
|
3
|
+
"rejected_ids": [],
|
4
|
+
"total": 1,
|
5
|
+
"indices": {
|
6
|
+
"0": 10887
|
7
|
+
},
|
8
|
+
"objects": [
|
9
|
+
{
|
10
|
+
"id": 10887,
|
11
|
+
"user_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
12
|
+
"connection_id": "e674a27a-4bfe-5cb3-96a1-09a891db8422",
|
13
|
+
"data_for_jabber": {
|
14
|
+
"id": "e674a27a-4bfe-5cb3-96a1-09a891db8422",
|
15
|
+
"login": "riboseteam",
|
16
|
+
"jid": "riboseteam@messaging.ribose.internal",
|
17
|
+
"name": "Team Ribose",
|
18
|
+
"mutual_spaces": []
|
19
|
+
},
|
20
|
+
"connected_user": {
|
21
|
+
"id": "e674a27a-4bfe-5cb3-96a1-09a891db8422",
|
22
|
+
"name": "Team Ribose",
|
23
|
+
"connected": true,
|
24
|
+
"mutual_spaces": []
|
25
|
+
}
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"conversation": {
|
3
|
+
"id": "456789",
|
4
|
+
"space_id": "123456789",
|
5
|
+
"created_at": "2017-02-13 14:15:45 +0000",
|
6
|
+
"updated_at": "2017-02-13 14:15:45 +0000",
|
7
|
+
"name": "Trips to the Mars!",
|
8
|
+
"tag_list": [],
|
9
|
+
"published": false,
|
10
|
+
"is_favorite": false,
|
11
|
+
"is_read": true,
|
12
|
+
"allow_publish": false,
|
13
|
+
"number_of_messages": 1,
|
14
|
+
"allow_edit": false,
|
15
|
+
"allow_delete": false,
|
16
|
+
"allow_comment": true,
|
17
|
+
"contents": "Did you already book the tickets?",
|
18
|
+
"attachments_listed": [],
|
19
|
+
"user": {
|
20
|
+
"id": "1u022072720722",
|
21
|
+
"name": "John Doe",
|
22
|
+
"connected": true,
|
23
|
+
"mutual_spaces": [ "3y939397393373703", "94744044074897474" ]
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"conversation": {
|
3
|
+
"id": "ee50bb3c-ed79-4efc-821a-64926f645bfb",
|
4
|
+
"space_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
5
|
+
"created_at": "2017-09-03T07:16:51.053+00:00",
|
6
|
+
"updated_at": "2017-09-03T07:16:51.053+00:00",
|
7
|
+
"name": "Sample Conversation",
|
8
|
+
"tag_list": [
|
9
|
+
"sample",
|
10
|
+
"conversation"
|
11
|
+
],
|
12
|
+
"published": false,
|
13
|
+
"is_favorite": false,
|
14
|
+
"is_read": true,
|
15
|
+
"allow_publish": false,
|
16
|
+
"number_of_messages": 0,
|
17
|
+
"allow_edit": true,
|
18
|
+
"allow_delete": true,
|
19
|
+
"allow_comment": true,
|
20
|
+
"contents": "",
|
21
|
+
"attachments_listed": [],
|
22
|
+
"user": {
|
23
|
+
"id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
24
|
+
"name": "John Doe",
|
25
|
+
"connected": true,
|
26
|
+
"mutual_spaces": [
|
27
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc"
|
28
|
+
]
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"conversations": [
|
3
|
+
{
|
4
|
+
"id": "741ebd0f-0959-42c5-b7d3-7749666d2f5f",
|
5
|
+
"space_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
6
|
+
"created_at": "2017-09-02T09:06:31.000+00:00",
|
7
|
+
"updated_at": "2017-09-02T09:06:31.000+00:00",
|
8
|
+
"name": "Sample conversation",
|
9
|
+
"tag_list": [
|
10
|
+
"sample",
|
11
|
+
"conversation"
|
12
|
+
],
|
13
|
+
"published": false,
|
14
|
+
"is_favorite": false,
|
15
|
+
"is_read": true,
|
16
|
+
"allow_publish": false,
|
17
|
+
"number_of_messages": 0,
|
18
|
+
"allow_edit": true,
|
19
|
+
"allow_delete": true,
|
20
|
+
"allow_comment": true,
|
21
|
+
"contents": "",
|
22
|
+
"attachments_listed": [],
|
23
|
+
"all_attachments": [],
|
24
|
+
"user": {
|
25
|
+
"id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
26
|
+
"name": "John Doe",
|
27
|
+
"connected": true,
|
28
|
+
"mutual_spaces": [
|
29
|
+
"0e8d5c16-1a31-4df9-83d9-eeaa374d5adc"
|
30
|
+
]
|
31
|
+
}
|
32
|
+
}
|
33
|
+
]
|
34
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
{
|
2
|
+
"feeds": [
|
3
|
+
{
|
4
|
+
"id": 6320867,
|
5
|
+
"level": "user",
|
6
|
+
"type_name": "user",
|
7
|
+
"type": "Feed::Basic",
|
8
|
+
"owner_type": "User",
|
9
|
+
"type_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
10
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
11
|
+
"instance_name": "John Doe"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"id": 6320868,
|
15
|
+
"level": "user",
|
16
|
+
"type_name": "connected_users",
|
17
|
+
"type": "Feed::Basic",
|
18
|
+
"owner_type": "User",
|
19
|
+
"type_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
20
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
21
|
+
"instance_name": null
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"id": 6320882,
|
25
|
+
"level": "app",
|
26
|
+
"type_name": "discussion",
|
27
|
+
"type": "Feed::Email",
|
28
|
+
"owner_type": "User",
|
29
|
+
"type_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
30
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
31
|
+
"instance_name": "Work"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"id": 6320883,
|
35
|
+
"level": "app",
|
36
|
+
"type_name": "file",
|
37
|
+
"type": "Feed::Email",
|
38
|
+
"owner_type": "User",
|
39
|
+
"type_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
40
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
41
|
+
"instance_name": "Work"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"id": 6320884,
|
45
|
+
"level": "app",
|
46
|
+
"type_name": "people",
|
47
|
+
"type": "Feed::Email",
|
48
|
+
"owner_type": "User",
|
49
|
+
"type_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
50
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
51
|
+
"instance_name": "Work"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"id": 6320885,
|
55
|
+
"level": "app",
|
56
|
+
"type_name": "calendar",
|
57
|
+
"type": "Feed::Email",
|
58
|
+
"owner_type": "User",
|
59
|
+
"type_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
60
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
61
|
+
"instance_name": "Work"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"id": 6320886,
|
65
|
+
"level": "app",
|
66
|
+
"type_name": "wiki",
|
67
|
+
"type": "Feed::Email",
|
68
|
+
"owner_type": "User",
|
69
|
+
"type_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
70
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
71
|
+
"instance_name": "Work"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"id": 6320887,
|
75
|
+
"level": "app",
|
76
|
+
"type_name": "poll",
|
77
|
+
"type": "Feed::Email",
|
78
|
+
"owner_type": "User",
|
79
|
+
"type_id": "0e8d5c16-1a31-4df9-83d9-eeaa374d5adc",
|
80
|
+
"owner_id": "63116bd1-c08d-4a4d-8332-fcdaecb13e34",
|
81
|
+
"instance_name": "Work"
|
82
|
+
}
|
83
|
+
]
|
84
|
+
}
|