From 2969b11947f47df5547aa5da6aa957bf0366c495 Mon Sep 17 00:00:00 2001 From: Funke Olasupo Date: Fri, 9 Feb 2024 16:00:04 +0000 Subject: [PATCH] GITBOOK-1241: fix endpoints --- SUMMARY.md | 2 +- .../endpoints/rooms/channels-endpoints/set-channel-ower.md | 2 +- .../endpoints/rooms/rooms-endpoints/set-room-notifications.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index 609dfa00..8a4f7e68 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -306,7 +306,7 @@ * [Convert Channel to Team](reference/api/rest-api/endpoints/rooms/channels-endpoints/convert-channel-to-team.md) * [Rooms Endpoints](reference/api/rest-api/endpoints/rooms/rooms-endpoints/README.md) * [Set Room Notifications](reference/api/rest-api/endpoints/rooms/rooms-endpoints/set-room-notifications.md) - * [Get Room Admins](reference/api/rest-api/endpoints/rooms/rooms-endpoints/get-room-admins.md) + * [Get Admin Rooms](reference/api/rest-api/endpoints/rooms/rooms-endpoints/get-room-admins.md) * [Clear Room History](reference/api/rest-api/endpoints/rooms/rooms-endpoints/clear-room-history.md) * [Get Room Information](reference/api/rest-api/endpoints/rooms/rooms-endpoints/get-room-information.md) * [Get Room Discussions](reference/api/rest-api/endpoints/rooms/rooms-endpoints/get-room-discussions.md) diff --git a/reference/api/rest-api/endpoints/rooms/channels-endpoints/set-channel-ower.md b/reference/api/rest-api/endpoints/rooms/channels-endpoints/set-channel-ower.md index 7ee19902..c165dc42 100644 --- a/reference/api/rest-api/endpoints/rooms/channels-endpoints/set-channel-ower.md +++ b/reference/api/rest-api/endpoints/rooms/channels-endpoints/set-channel-ower.md @@ -40,7 +40,7 @@ Any of the following errors can occur on the endpoint. * **Authorization**: Requires an authentication token for the request to be made. * **Not Allowed**: This occurs when the authenticated user doesn't have the `set-owner` permission. -* **User is already a moderator**: This occurs when the user is already a owner in the channel. +* **User is already an owner**: This occurs when the user is already a owner in the channel. {% tabs %} {% tab title="Authorization" %} diff --git a/reference/api/rest-api/endpoints/rooms/rooms-endpoints/set-room-notifications.md b/reference/api/rest-api/endpoints/rooms/rooms-endpoints/set-room-notifications.md index e1d2f9fe..44143b92 100644 --- a/reference/api/rest-api/endpoints/rooms/rooms-endpoints/set-room-notifications.md +++ b/reference/api/rest-api/endpoints/rooms/rooms-endpoints/set-room-notifications.md @@ -6,7 +6,7 @@ Sets the notification settings of a specific room. ## Body Parameters -
KeyExample ValueDescription
roomId*5of4weEXaH7yncxz9The channel's id
notifications*"notifications": {...}The object that contains the following parameters.
desktopNotificationsnothing

The value for desktop notifications. The options are:

  • nothing
  • mentions
  • all
  • default
disableNotifications0

The value to disable/enable channel's notifications.

The options are:

  • 0
  • 1
emailNotificationsnothing

The value for email notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
audioNotificationsnothing

The value for audio notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
notifications.mobilePushNotificationsnothing

The value for mobile push notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
audioNotificationValuebeepThe value for audio notification sound.
desktopNotificationDuration0The value for desktop notification duration.
unreadAlertnothing

The value for unread alerts notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
hideUnreadStatus0

The value to disable/enable number of unread messages.

The options are:

  • 0
  • 1
+
KeyExample ValueDescription
roomId*5of4weEXaH7yncxz9The channel's id
notifications*"notifications": {...}The object that contains the following parameters.
desktopNotificationsnothing

The value for desktop notifications. The options are:

  • nothing
  • mentions
  • all
  • default
disableNotifications0

The value to disable/enable channel's notifications.

The options are:

  • 0
  • 1
emailNotificationsnothing

The value for email notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
audioNotificationsnothing

The value for audio notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
mobilePushNotificationsnothing

The value for mobile push notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
audioNotificationValuebeepThe value for audio notification sound.
desktopNotificationDuration0The value for desktop notification duration.
unreadAlertnothing

The value for unread alerts notifications.

The options are:

  • nothing
  • mentions
  • all
  • default
hideUnreadStatus0

The value to disable/enable number of unread messages.

The options are:

  • 0
  • 1
## Example Call