Skip to content

Commit

Permalink
Add canvas APIs and users.discoverableContacts.lookup API (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jun 13, 2024
1 parent 59590f7 commit 4999b64
Show file tree
Hide file tree
Showing 72 changed files with 1,357 additions and 53 deletions.
15 changes: 10 additions & 5 deletions json-logs/samples/api/canvases.access.delete.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"ok": false,
"error": "",
"failed_to_update_channel_ids": [""],
"failed_to_update_user_ids": [""],
"response_metadata": {
}
}
"failed_to_update_channel_ids": [
""
],
"failed_to_update_user_ids": [
""
],
"response_metadata": {},
"needed": "",
"provided": ""
}
15 changes: 10 additions & 5 deletions json-logs/samples/api/canvases.access.set.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"ok": false,
"error": "",
"failed_to_update_channel_ids": [ "" ],
"failed_to_update_user_ids": [ "" ],
"response_metadata": {
}
}
"failed_to_update_channel_ids": [
""
],
"failed_to_update_user_ids": [
""
],
"response_metadata": {},
"needed": "",
"provided": ""
}
8 changes: 5 additions & 3 deletions json-logs/samples/api/canvases.create.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"ok": false,
"canvas_id": "F016BFXUEQ2",
"canvas_id": "F00000000",
"detail": "",
"error": "",
"response_metadata": {
"messages": [
""
]
}
}
},
"needed": "",
"provided": ""
}
7 changes: 4 additions & 3 deletions json-logs/samples/api/canvases.delete.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"ok": false,
"error": "",
"response_metadata": {
}
}
"response_metadata": {},
"needed": "",
"provided": ""
}
9 changes: 7 additions & 2 deletions json-logs/samples/api/canvases.edit.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"detail": "",
"error": "",
"response_metadata": {
}
}
"messages": [
""
]
},
"needed": "",
"provided": ""
}
19 changes: 13 additions & 6 deletions json-logs/samples/api/canvases.sections.lookup.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"ok":false,
"ok": false,
"error": "",
"sections":[
{"id":""}
"sections": [
{
"id": ""
}
],
"response_metadata":{
}
}
"response_metadata": {
"messages": [
""
]
},
"needed": "",
"provided": ""
}
3 changes: 3 additions & 0 deletions json-logs/samples/api/chat.postMessage.json
Original file line number Diff line number Diff line change
Expand Up @@ -8353,6 +8353,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -12839,6 +12840,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down Expand Up @@ -19707,6 +19709,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/chat.scheduleMessage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2898,6 +2898,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down
2 changes: 2 additions & 0 deletions json-logs/samples/api/chat.update.json
Original file line number Diff line number Diff line change
Expand Up @@ -4316,6 +4316,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down Expand Up @@ -7187,6 +7188,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down
8 changes: 5 additions & 3 deletions json-logs/samples/api/conversations.canvases.create.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"ok": false,
"canvas_id": "F016BFXUEQ2",
"canvas_id": "F00000000",
"detail": "",
"error": "",
"response_metadata": {
"messages": [
""
]
}
}
},
"needed": "",
"provided": ""
}
4 changes: 4 additions & 0 deletions json-logs/samples/api/conversations.history.json
Original file line number Diff line number Diff line change
Expand Up @@ -4317,6 +4317,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down Expand Up @@ -7188,6 +7189,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -15856,6 +15858,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -20342,6 +20345,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
3 changes: 1 addition & 2 deletions json-logs/samples/api/conversations.list.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
""
],
"user": [
"W00000000",
"U00000000"
"W00000000"
]
},
"threads_restricted_to": {
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/conversations.open.json
Original file line number Diff line number Diff line change
Expand Up @@ -2851,6 +2851,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down
4 changes: 4 additions & 0 deletions json-logs/samples/api/conversations.replies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2874,6 +2874,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -11542,6 +11543,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -16028,6 +16030,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down Expand Up @@ -24305,6 +24308,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.remote.add.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.remote.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.remote.share.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.remote.update.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.revokePublicURL.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.sharedPublicURL.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/files.upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -4228,6 +4228,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/pins.list.json
Original file line number Diff line number Diff line change
Expand Up @@ -4233,6 +4233,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
1 change: 1 addition & 0 deletions json-logs/samples/api/reactions.get.json
Original file line number Diff line number Diff line change
Expand Up @@ -2904,6 +2904,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down
4 changes: 4 additions & 0 deletions json-logs/samples/api/reactions.list.json
Original file line number Diff line number Diff line change
Expand Up @@ -4343,6 +4343,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down Expand Up @@ -7214,6 +7215,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -15882,6 +15884,7 @@
"last_read": 123,
"title_blocks": [],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [],
"org_or_workspace_access": "",
"update_notification": 123,
Expand Down Expand Up @@ -20368,6 +20371,7 @@
}
],
"private_channels_with_file_access_count": 123,
"private_file_with_access_count": 123,
"dm_mpdm_users_with_file_access": [
{
"user_id": "",
Expand Down
Loading

0 comments on commit 4999b64

Please sign in to comment.