diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-14 12:06:16 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | b2bf7f4bd24493c670728f922528b08af1e93334 (patch) | |
tree | d32b30d7875c26442193f51c267cbeea4cdf0bfa | |
parent | 4b5e2185941d407f246dd7f60022df46207078a6 (diff) | |
download | wee-slack-b2bf7f4bd24493c670728f922528b08af1e93334.tar.gz |
Add mock data for users.conversations
-rw-r--r-- | mock_data/slack_users_conversations_im.json | 140 | ||||
-rw-r--r-- | mock_data/slack_users_conversations_mpim.json | 498 | ||||
-rw-r--r-- | mock_data/slack_users_conversations_private_channel.json | 384 | ||||
-rw-r--r-- | mock_data/slack_users_conversations_public_channel.json | 438 |
4 files changed, 1460 insertions, 0 deletions
diff --git a/mock_data/slack_users_conversations_im.json b/mock_data/slack_users_conversations_im.json new file mode 100644 index 0000000..f8e9640 --- /dev/null +++ b/mock_data/slack_users_conversations_im.json @@ -0,0 +1,140 @@ +{ + "ok": true, + "channels": [ + { + "id": "D017V7T5PU0", + "created": 1594833860, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 0, + "user": "U0175CGFJRY", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D0175CGEG6N", + "created": 1594833858, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 0, + "user": "U017V7T2D40", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D016YLE7PCN", + "created": 1594833861, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 0, + "user": "U0175CGHWRY", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "DU6635XQX", + "created": 1581979600, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 0, + "user": "UU6635U31", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "DP7AN8CN7", + "created": 1571415458, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 0, + "user": "UP7AN7YBV", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "DJD9KS929", + "created": 1556870691, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 1558178601879, + "user": "UJD9KS12R", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D9N2KD0V6", + "created": 1520893592, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 1558176716111, + "user": "U9NJX9J83", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D7HQ1NRS9", + "created": 1507853084, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 1558176218323, + "user": "USLACKBOT", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D7HMJUDHS", + "created": 1507853084, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 1558176217584, + "user": "U0H4WARC1", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D7HKY2H42", + "created": 1507853084, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 1558176217410, + "user": "U0FC36NA0", + "is_user_deleted": false, + "priority": 0 + }, + { + "id": "D7HHQR467", + "created": 1507853084, + "is_archived": false, + "is_im": true, + "is_org_shared": false, + "context_team_id": "T0FC8BFQR", + "updated": 1558176216695, + "user": "U7JNGMGEB", + "is_user_deleted": false, + "priority": 0 + } + ], + "response_metadata": { + "next_cursor": "" + } +} diff --git a/mock_data/slack_users_conversations_mpim.json b/mock_data/slack_users_conversations_mpim.json new file mode 100644 index 0000000..b749909 --- /dev/null +++ b/mock_data/slack_users_conversations_mpim.json @@ -0,0 +1,498 @@ +{ + "ok": true, + "channels": [ + { + "id": "C020W8TUXJT", + "name": "mpdm-trygveaa029--trygveaa--trygveaa_wee-slack-te--trygveaa_wee-slack195-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1620500269, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--trygveaa_wee-slack-te--trygveaa_wee-slack195-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1620500269751, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @trygveaa_wee-slack-te @trygveaa_wee-slack195", + "creator": "U9NJX9J83", + "last_set": 1620500269 + } + }, + { + "id": "C021H6SG0CU", + "name": "mpdm-trygveaa--trygveaa_wee-slack-te--trygveaa_wee-slack195-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1620499967, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa--trygveaa_wee-slack-te--trygveaa_wee-slack195-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1620499967049, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa @trygveaa_wee-slack-te @trygveaa_wee-slack195", + "creator": "U7JNGMGEB", + "last_set": 1620499967 + } + }, + { + "id": "C021PJQPNHX", + "name": "mpdm-trygveaa029--trygveaa--trygveaa_wee-slack-te-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1620496096, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--trygveaa_wee-slack-te-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1620496096793, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @trygveaa_wee-slack-te", + "creator": "U9NJX9J83", + "last_set": 1620496096 + } + }, + { + "id": "C021PKAFBUZ", + "name": "mpdm-trygveaa029--trygveaa--trygveaa_wee-slack195-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1620497635, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--trygveaa_wee-slack195-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1620497635451, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @trygveaa_wee-slack195", + "creator": "U9NJX9J83", + "last_set": 1620497635 + } + }, + { + "id": "C024SND34R5", + "name": "mpdm-trygveaa--trygveaa_wee-slack-te--trygveaa243-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1623839474, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa--trygveaa_wee-slack-te--trygveaa243-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1623839474006, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa @trygveaa_wee-slack-te @trygveaa243", + "creator": "U7JNGMGEB", + "last_set": 1623839474 + } + }, + { + "id": "C042N0XCZQW", + "name": "mpdm-trygveaa--trygveaa_wee-slack-te--slack.test-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1663433884, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa--trygveaa_wee-slack-te--slack.test-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1663433884582, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa @trygveaa_wee-slack-te @slack.test", + "creator": "U7JNGMGEB", + "last_set": 1663433884 + } + }, + { + "id": "C042P6YUX7Y", + "name": "mpdm-trygveaa029--trygveaa--slack.test--trygveaa_wee-slack195-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1663517561, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--slack.test--trygveaa_wee-slack195-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1663517561295, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @slack.test @trygveaa_wee-slack195", + "creator": "U9NJX9J83", + "last_set": 1663517561 + } + }, + { + "id": "C042VL9076F", + "name": "mpdm-trygveaa029--trygveaa--slack.test-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1663514345, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--slack.test-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1663514345671, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @slack.test", + "creator": "U9NJX9J83", + "last_set": 1663514345 + } + }, + { + "id": "C0438DN5HQR", + "name": "mpdm-trygveaa029--trygveaa--slack.test--trygveaa_wee-slack-te-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1663516746, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--slack.test--trygveaa_wee-slack-te-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1663516746762, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @slack.test @trygveaa_wee-slack-te", + "creator": "U9NJX9J83", + "last_set": 1663516746 + } + }, + { + "id": "C043KG8LGKA", + "name": "mpdm-trygveaa--trygveaa_wee-slack195--trygveaa243--trygveaa_wee-slack-te-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1663517520, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa--trygveaa_wee-slack195--trygveaa243--trygveaa_wee-slack-te-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1663517520188, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa @trygveaa_wee-slack195 @trygveaa243 @trygveaa_wee-slack-te", + "creator": "U7JNGMGEB", + "last_set": 1663517520 + } + }, + { + "id": "GKHEJUM1N", + "name": "mpdm-trygveaa029--trygveaa--trygveaa243-1", + "is_channel": false, + "is_group": true, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1560376096, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa029--trygveaa--trygveaa243-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1560376096594, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "last_read": "1664834869.209949", + "is_open": true, + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa029 @trygveaa @trygveaa243", + "creator": "U9NJX9J83", + "last_set": 1560376096 + }, + "priority": 0 + }, + { + "id": "G0175DNNPK4", + "name": "mpdm-trygveaa_wee-slack195--trygveaa243--trygveaa-1", + "is_channel": false, + "is_group": true, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1594834785, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa_wee-slack195--trygveaa243--trygveaa-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1594834785370, + "parent_conversation": null, + "creator": "U0175CGFJRY", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "last_read": "0000000000.000000", + "is_open": false, + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa_wee-slack195 @trygveaa243 @trygveaa", + "creator": "U0175CGFJRY", + "last_set": 1594834785 + }, + "priority": 0 + }, + { + "id": "G01P5NDRB6V", + "name": "mpdm-trygveaa--trygveaa_wee-slack195--trygveaa029--trygveaa243-1", + "is_channel": false, + "is_group": true, + "is_im": false, + "is_mpim": true, + "is_private": true, + "created": 1613830698, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "mpdm-trygveaa--trygveaa_wee-slack195--trygveaa029--trygveaa243-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1613830698854, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "last_read": "0000000000.000000", + "is_open": false, + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "Group messaging with: @trygveaa @trygveaa_wee-slack195 @trygveaa029 @trygveaa243", + "creator": "U7JNGMGEB", + "last_set": 1613830698 + }, + "priority": 0 + } + ], + "response_metadata": { + "next_cursor": "" + } +} diff --git a/mock_data/slack_users_conversations_private_channel.json b/mock_data/slack_users_conversations_private_channel.json new file mode 100644 index 0000000..0adb431 --- /dev/null +++ b/mock_data/slack_users_conversations_private_channel.json @@ -0,0 +1,384 @@ +{ + "ok": true, + "channels": [ + { + "id": "CF8FMS5DW", + "name": "test-public-2-private", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1546972689, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "test-public-2-private", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1569955990722, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "topic", + "creator": "U7JNGMGEB", + "last_set": 1569955990 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "GF92JJVD2", + "name": "test-private", + "is_channel": false, + "is_group": true, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1546971648, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "test-private", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1560346299797, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "last_read": "1597743301.000100", + "is_open": true, + "topic": { + "value": "zxc", + "creator": "U7JNGMGEB", + "last_set": 1560346299 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "GNLENA84B", + "name": "channel-created-as-private-initially", + "is_channel": false, + "is_group": true, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1569952911, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel-created-as-private-initially", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1569952911815, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "last_read": "1664834738.133719", + "is_open": true, + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "CNZQKUU9M", + "name": "channel-created-as-public-then-converted-to-private", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1569952842, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel-created-as-public-then-converted-to-private", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1569952876930, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "C0135RRQA5B", + "name": "converted-to-private-2", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1588840764, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "converted-to-private-2", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1588840785531, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "C01377FAVV0", + "name": "converted-to-private", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1588840699, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "converted-to-private", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1588840856421, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "C0137DRNH3M", + "name": "converted-to-private-4", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1588840866, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "converted-to-private-4", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1588840875545, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "G016T8RQNJH", + "name": "channel-created-from-wee-private-1", + "is_channel": false, + "is_group": true, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1594320187, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel-created-from-wee-private-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1594320187521, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "last_read": "1594320187.000200", + "is_open": true, + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "C0495PWT06P", + "name": "private-2022-11-02", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1667398290, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "private-2022-11-02", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1667404575101, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + }, + { + "id": "C0495SU9KUJ", + "name": "public-then-private-2022-11-02", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": true, + "created": 1667398303, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "public-then-private-2022-11-02", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1667398315619, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + } + } + ], + "response_metadata": { + "next_cursor": "" + } +} diff --git a/mock_data/slack_users_conversations_public_channel.json b/mock_data/slack_users_conversations_public_channel.json new file mode 100644 index 0000000..ef5c963 --- /dev/null +++ b/mock_data/slack_users_conversations_public_channel.json @@ -0,0 +1,438 @@ +{ + "ok": true, + "channels": [ + { + "id": "C0FC4L59T", + "name": "gëneral", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1448569877, + "is_archived": false, + "is_general": true, + "unlinked": 0, + "name_normalized": "general", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1558172969370, + "parent_conversation": null, + "creator": "U0FC36NA0", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "foo <", + "creator": "U0H4WARC1", + "last_set": 1501273125 + }, + "purpose": { + "value": "This channel is for team-wide communication and announcements. All team members are in this channel.", + "creator": "", + "last_set": 0 + }, + "previous_names": [ + "general" + ] + }, + { + "id": "C0FC9M7J6", + "name": "random", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1448569877, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "random", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1558172970370, + "parent_conversation": null, + "creator": "U0FC36NA0", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "Non-work banter and water cooler conversation", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you'd prefer to keep out of more focused work-related channels.", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "CCARND2JX", + "name": "shared", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1534595168, + "is_archived": false, + "is_general": false, + "unlinked": 1534595168, + "name_normalized": "shared", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1558177365987, + "parent_conversation": null, + "creator": "U0FC36NA0", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "CK4M8EWJE", + "name": "channel1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1560285085, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1590871910914, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "å\nø\næ", + "creator": "U7JNGMGEB", + "last_set": 1590871910 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [ + "channel15", + "channel1", + "channel14", + "channel13", + "channel12", + "channel11" + ] + }, + { + "id": "CSPH7NJMP", + "name": "channel5", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1579724145, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel5", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1579724145454, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "CSZ9Q9Y1J", + "name": "channel6", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1579724567, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel6", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1582142957885, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [ + "channel6-renamed", + "channel6" + ] + }, + { + "id": "CSZLGFVCM", + "name": "channel2", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1579721189, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel2", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1579721189455, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "C0103AB13RP", + "name": "channel8", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1584658967, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel8", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1584658967632, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "C016MTAJZQE", + "name": "channel-created-from-wee-1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1594319790, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "channel-created-from-wee-1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1594319790620, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "C019TL1V90U", + "name": "slack-api-changelog", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1598544380, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "slack-api-changelog", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1598544380863, + "parent_conversation": null, + "creator": "U7JNGMGEB", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + }, + { + "id": "C030MS8GYQ6", + "name": "2022-01-30_1", + "is_channel": true, + "is_group": false, + "is_im": false, + "is_mpim": false, + "is_private": false, + "created": 1643570101, + "is_archived": false, + "is_general": false, + "unlinked": 0, + "name_normalized": "2022-01-30_1", + "is_shared": false, + "is_org_shared": false, + "is_pending_ext_shared": false, + "pending_shared": [], + "context_team_id": "T0FC8BFQR", + "updated": 1643570101009, + "parent_conversation": null, + "creator": "U9NJX9J83", + "is_ext_shared": false, + "shared_team_ids": [ + "T0FC8BFQR" + ], + "pending_connected_team_ids": [], + "topic": { + "value": "", + "creator": "", + "last_set": 0 + }, + "purpose": { + "value": "", + "creator": "", + "last_set": 0 + }, + "previous_names": [] + } + ], + "response_metadata": { + "next_cursor": "" + } +} |