From ed18fad6d0167de51311fa14fe6d883a7c2f1f6d Mon Sep 17 00:00:00 2001 From: Mykhailo Rohalskyy Date: Mon, 13 Jan 2025 09:26:58 +0200 Subject: [PATCH] docs(developer): update Webhooks --- src/assets/code/webhooks/sb/stringComment.created.json | 5 +++++ src/assets/code/webhooks/sb/stringComment.deleted.json | 5 +++++ src/assets/code/webhooks/sb/stringComment.restored.json | 5 +++++ src/assets/code/webhooks/sb/stringComment.updated.json | 5 +++++ src/assets/code/webhooks/stringComment.created.json | 8 +++++++- src/assets/code/webhooks/stringComment.deleted.json | 8 +++++++- src/assets/code/webhooks/stringComment.restored.json | 8 +++++++- src/assets/code/webhooks/stringComment.updated.json | 8 +++++++- 8 files changed, 48 insertions(+), 4 deletions(-) diff --git a/src/assets/code/webhooks/sb/stringComment.created.json b/src/assets/code/webhooks/sb/stringComment.created.json index 3fe415c8..4ea5b8fa 100644 --- a/src/assets/code/webhooks/sb/stringComment.created.json +++ b/src/assets/code/webhooks/sb/stringComment.created.json @@ -75,6 +75,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/sb/stringComment.deleted.json b/src/assets/code/webhooks/sb/stringComment.deleted.json index 6d518f6b..c0446236 100644 --- a/src/assets/code/webhooks/sb/stringComment.deleted.json +++ b/src/assets/code/webhooks/sb/stringComment.deleted.json @@ -75,6 +75,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/sb/stringComment.restored.json b/src/assets/code/webhooks/sb/stringComment.restored.json index 36324144..5e16bc23 100644 --- a/src/assets/code/webhooks/sb/stringComment.restored.json +++ b/src/assets/code/webhooks/sb/stringComment.restored.json @@ -75,6 +75,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/sb/stringComment.updated.json b/src/assets/code/webhooks/sb/stringComment.updated.json index 2a5cd0f5..a0927430 100644 --- a/src/assets/code/webhooks/sb/stringComment.updated.json +++ b/src/assets/code/webhooks/sb/stringComment.updated.json @@ -75,6 +75,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/stringComment.created.json b/src/assets/code/webhooks/stringComment.created.json index c5a04a3e..d936af81 100644 --- a/src/assets/code/webhooks/stringComment.created.json +++ b/src/assets/code/webhooks/stringComment.created.json @@ -10,7 +10,8 @@ "createdAt": "2019-09-20T11:05:24+00:00", "string": { "id": "2814", - "identifier": "name", + "identifier": "b068931cc450442b63f5b3d276ea4297", + "key": "name", "text": "Not all videos are shown to users. See more", "type": "text", "context": "shown on main page", @@ -83,6 +84,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/stringComment.deleted.json b/src/assets/code/webhooks/stringComment.deleted.json index 5fea41ad..779c50a0 100644 --- a/src/assets/code/webhooks/stringComment.deleted.json +++ b/src/assets/code/webhooks/stringComment.deleted.json @@ -10,7 +10,8 @@ "createdAt": "2019-09-20T11:05:24+00:00", "string": { "id": "2814", - "identifier": "name", + "identifier": "b068931cc450442b63f5b3d276ea4297", + "key": "name", "text": "Not all videos are shown to users. See more", "type": "text", "context": "shown on main page", @@ -83,6 +84,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/stringComment.restored.json b/src/assets/code/webhooks/stringComment.restored.json index 2023595a..49297779 100644 --- a/src/assets/code/webhooks/stringComment.restored.json +++ b/src/assets/code/webhooks/stringComment.restored.json @@ -10,7 +10,8 @@ "createdAt": "2019-09-20T11:05:24+00:00", "string": { "id": "2814", - "identifier": "name", + "identifier": "b068931cc450442b63f5b3d276ea4297", + "key": "name", "text": "Not all videos are shown to users. See more", "type": "text", "context": "shown on main page", @@ -83,6 +84,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file diff --git a/src/assets/code/webhooks/stringComment.updated.json b/src/assets/code/webhooks/stringComment.updated.json index 46128920..877e485f 100644 --- a/src/assets/code/webhooks/stringComment.updated.json +++ b/src/assets/code/webhooks/stringComment.updated.json @@ -10,7 +10,8 @@ "createdAt": "2019-09-20T11:05:24+00:00", "string": { "id": "2814", - "identifier": "name", + "identifier": "b068931cc450442b63f5b3d276ea4297", + "key": "name", "text": "Not all videos are shown to users. See more", "type": "text", "context": "shown on main page", @@ -83,6 +84,11 @@ "username": "john_smith", "fullName": "John Smith", "avatarUrl": "" + }, + "mention": { + "userIds": [ + 1 + ] } } } \ No newline at end of file