Skip to content

Commit 0fd078d

Browse files
committed
DDOCS: Add event notification info, fix link
1 parent 184cb05 commit 0fd078d

File tree

8 files changed

+28
-16
lines changed

8 files changed

+28
-16
lines changed

content/guides/box-ai/ai-agents/get-agent-default-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To send a request, use the
2727
`GET /2.0/ai_agent_default` endpoint.
2828

2929
Make sure you have generated the developer token
30-
to authorize your app. See [prerequisites for using Box AI][prereq]
30+
to authorize your app. See [getting started with Box AI][prereq]
3131
for details.
3232

3333
<Samples id='get_ai_agent_default' />

content/guides/box-ai/ai-tutorials/ask-questions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ you can ask Box AI to summarize the content.
2626

2727
## Before you start
2828

29-
Make sure you followed the steps listed in [prerequisites for using Box AI][prereq] to create a custom app and authenticate.
29+
Make sure you followed the steps listed in [getting started with Box AI][prereq] to create a custom app and authenticate.
3030

3131
## Send a request
3232

content/guides/box-ai/ai-tutorials/default-agent-overrides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Endpoints related to metadata extraction are currently a beta feature offered su
2121

2222
## Before you start
2323

24-
Make sure you followed the steps listed in [prerequisites for using Box AI][prereq] to create a custom app and authenticate.
24+
Make sure you followed the steps listed in [getting started with Box AI][prereq] to create a custom app and authenticate.
2525
To get more context, read about [agent overrides][agent-overrides].
2626

2727
## Override prompt

content/guides/box-ai/ai-tutorials/extract-metadata-structured.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To learn more about creating templates, see [Creating metadata templates in the
2424

2525
## Before you start
2626

27-
Make sure you followed the steps listed in [prerequisites for using Box AI][prereq] to create a custom app and authenticate.
27+
Make sure you followed the steps listed in [getting started with Box AI][prereq] to create a custom app and authenticate.
2828

2929
## Send a request
3030

content/guides/box-ai/ai-tutorials/extract-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Box AI API allows you to query a document and extract metadata based on a provid
2222

2323
## Before you start
2424

25-
Make sure you followed the steps listed in [prerequisites for using Box AI][prereq] to create a custom app and authenticate.
25+
Make sure you followed the steps listed in [getting started with Box AI][prereq] to create a custom app and authenticate.
2626

2727
## Send a request
2828

content/guides/box-ai/ai-tutorials/generate-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ based on provided content.
2626

2727
## Before you start
2828

29-
Make sure you followed the steps listed in [prerequisites for using Box AI][prereq] to create a custom app and authenticate.
29+
Make sure you followed the steps listed in [getting started with Box AI][prereq] to create a custom app and authenticate.
3030

3131
## Send a request
3232

content/guides/embed/box-embed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To fetch the Box Embed widget code from the Box web app, perform the following s
3434

3535
1. Navigate to the chosen Hub.
3636
2. Click on the ellipsis menu in the top right corner.
37-
3. Click **Embed Widget**.
37+
3. Click **Embed Hub**.
3838

3939
<ImageFrame border>
4040
![Box Embed](./box-embed-new.png)

content/guides/events/user-events/for-user.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ The following events are available in all feeds.
7979
| `LOCK_DESTROY` | A file was unlocked. If a locked file is deleted, the source file will be null. |
8080
| `ITEM_TRASH` | A file or folder was marked as deleted |
8181
| `ITEM_UNDELETE_VIA_TRASH` | A file or folder was recovered out of the trash |
82-
| `COLLAB_ADD_COLLABORATOR` | A collaborator was added to a folder |
82+
| `COLLAB_ADD_COLLABORATOR` | A collaborator was added to a folder
83+
84+
|
8385
| `COLLAB_ROLE_CHANGE` | A collaborator had their role changed |
8486
| `COLLAB_INVITE_COLLABORATOR` | A collaborator was invited on a folder |
85-
| `COLLAB_REMOVE_COLLABORATOR` | A collaborator was removed from a folder |
87+
| `COLLAB_REMOVE_COLLABORATOR` | A collaborator was removed from a folder |
8688
| `ITEM_SYNC` | A folder was marked for sync |
8789
| `ITEM_UNSYNC` | A folder was unmarked for sync |
8890
| `ITEM_RENAME` | A file or folder was renamed |
@@ -96,18 +98,28 @@ The following events are only available in the `all` feed.
9698
|--------------------------|-----------------------------------------------------------|
9799
| `COMMENT_CREATE` | A comment was created on a folder, file, or other comment |
98100
| `COMMENT_DELETE` | A comment was deleted on folder, file, or other comment |
99-
| `ITEM_DOWNLOAD` | A file or folder was downloaded |
100-
| `ITEM_PREVIEW` | A file was previewed |
101+
| `ITEM_DOWNLOAD` | A file or folder was downloaded |
102+
| `ITEM_PREVIEW` | A file was previewed |
101103
| `TASK_ASSIGNMENT_CREATE` | A task was assigned |
102104
| `TASK_CREATE` | A task was created |
103105
| `ITEM_SHARED_CREATE` | A file or folder was enabled for sharing |
104106
| `ITEM_SHARED_UNSHARE` | A file or folder was disabled for sharing |
105107
| `ITEM_SHARED` | A folder was shared |
106108
| `TAG_ITEM_CREATE` | A Tag was added to a file or folder |
107-
| `ENABLE_TWO_FACTOR_AUTH` | 2 factor authentication enabled by user. |
108-
| `MASTER_INVITE_ACCEPT` | Free user accepts invitation to become a managed user. |
109-
| `MASTER_INVITE_REJECT` | Free user rejects invitation to become a managed user. |
110-
| `ACCESS_GRANTED` | Granted Box access to account. |
111-
| `ACCESS_REVOKED` | Revoke Box access to account. |
109+
| `ENABLE_TWO_FACTOR_AUTH` | 2 factor authentication enabled by user |
110+
| `MASTER_INVITE_ACCEPT` | Free user accepts invitation to become a managed user |
111+
| `MASTER_INVITE_REJECT` | Free user rejects invitation to become a managed user |
112+
| `ACCESS_GRANTED` | Granted Box access to account |
113+
| `ACCESS_REVOKED` | Revoke Box access to account |
114+
115+
## Event notifications
116+
117+
To reduce the noise of the event stream and streamline event consumption, the following event types have optimized notification behavior.
118+
119+
| Event type | Notification behavior|
120+
|-----------|--------------|
121+
|`COLLAB_ADD_COLLABORATOR`, `COLLAB_REMOVE_COLLABORATOR`, `COLLAB_INVITE_COLLABORATOR`, `COLLAB_ROLE_CHANGE` |When this event takes place, the content owner on the `changes` event stream is notified. Collaboration owners will see an additional event that matches what they see on the `all` stream.|
122+
| `ITEM_DOWNLOAD` | When an item is downloaded, only the content owner gets the notification. Collaborators are not notified.|
123+
| `ITEM_PREVIEW` | When an item is previewed, only the content owner gets the notification. Collaborators are not notified. |
112124

113125
[longpoll]: g://events/user-events/polling

0 commit comments

Comments
 (0)