-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathfile_shared.json
More file actions
22 lines (22 loc) · 860 Bytes
/
Copy pathfile_shared.json
File metadata and controls
22 lines (22 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "file_shared",
"desc": "A file was shared.",
"long_desc": "The file_shared event is sent when a file is shared. It is sent to all connected clients for all users that have permission to see the file. The file property includes the file ID, as well as a top-level file_id. To obtain additional information about the file, use the files.info API method. When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more",
"example": {
"type": "file_shared",
"channel_id": "D01315BHHSN",
"file_id": "F2147483862",
"user_id": "U0Z7K8SRH",
"file": {
"id": "F2147483862"
},
"event_ts": "1617804931.000300"
},
"scopes": [
"files:read"
],
"APIs": [
"Events",
"RTM"
]
}