Skip to content

Commit 5f0fe17

Browse files
Merge pull request #7 from RocketChat/dev
update descriptions
2 parents fc6cd5d + ddf80ae commit 5f0fe17

File tree

5 files changed

+37
-64
lines changed

5 files changed

+37
-64
lines changed

marketplace-apps.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
openapi: 3.0.0
22
info:
3-
version: ''
3+
version: 1.0.0
44
title: Marketplace Apps
5-
contact:
6-
name: Rocket.Chat
7-
url: 'https://rocket.chat/'
8-
9-
description: ''
5+
description: |-
6+
The following marketplace apps endpoints are available:
7+
* **WhatsApp**: Send a template [WhatsApp](https://docs.rocket.chat/extend-rocket.chat-capabilities/rocket.chat-marketplace/rocket.chat-public-apps-guides/omnichannel-apps/whatsapp) message.
8+
* **Rasa**: Close a [Rasa](https://docs.rocket.chat/extend-rocket.chat-capabilities/rocket.chat-marketplace/rocket.chat-public-apps-guides/omnichannel-apps/rasa-app) app chat or perform handover.
109
servers:
1110
- url: 'http://localhost:3000'
1211
paths:
@@ -286,4 +285,4 @@ components:
286285
message: You must be logged in to do this.
287286
tags:
288287
- name: Rasa App
289-
- name: WhatsApp
288+
- name: WhatsApp

notifications.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
openapi: 3.0.0
22
info:
3-
version: ''
3+
version: 1.0.0
44
title: Notifications
5-
description: ''
6-
termsOfService: 'https://rocket.chat/'
7-
contact:
8-
name: Rocket.Chat
9-
url: 'https://rocket.chat/'
10-
11-
license:
12-
url: 'https://rocket.chat/'
13-
name: Apache2.0
5+
description: |-
6+
The Rocket.Chat notifications endpoints are as follows:
7+
* **Banners**: Get and dismiss banners.
8+
* **Push token**: Create and manage push tokens.
149
servers:
1510
- url: 'http://localhost:3000'
1611
paths:
@@ -634,4 +629,4 @@ components:
634629
examples:
635630
Example 1:
636631
value:
637-
success: true
632+
success: true

omnichannel.yaml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: ''
3+
version: 1.0.0
44
title: Omnichannel
55
description: |-
66
With the Rocket.Chat [Omnichannel](https://docs.rocket.chat/use-rocket.chat/omnichannel) feature, you can talk to your customers and website visitors, regardless of the channel they choose to connect with you.
@@ -9,13 +9,6 @@ info:
99

1010
- **Endpoints requiring authentication:** The workspace admins and managers use the endpoints that require authentication with a login method.
1111
- **Endpoints not requiring authentication:** Visitors can use the endpoints that require no authentication. These endpoints require a visitor `token` which is like an authentication parameter for visitors. Visitors can [register themselves](livechat-endpoints/visitor/register-a-new-livechat-visitor.md) by providing a random unique string as the `token` which can be used for other such endpoints.
12-
contact:
13-
name: Rocket.Chat
14-
url: 'https://rocket.chat/'
15-
16-
license:
17-
url: 'https://rocket.chat/'
18-
name: Apache2.0
1912
servers:
2013
- url: 'http://localhost:3000'
2114
paths:
@@ -1022,32 +1015,16 @@ paths:
10221015
application/json:
10231016
schema:
10241017
type: array
1025-
x-examples:
1026-
Example 1:
1027-
- title: Total_conversations
1028-
value: 1086
1029-
- title: Open_conversations
1030-
value: 119
1031-
- title: On_Hold_conversations
1032-
value: 1
1033-
- title: Total_messages
1034-
value: 4892
1035-
- title: Busiest_day
1036-
value: Tuesday
1037-
- title: Conversations_per_day
1038-
value: '0.74'
1039-
- title: Busiest_time
1040-
value: 7AM- 8AM
10411018
items:
10421019
type: object
10431020
properties:
10441021
title:
10451022
type:
10461023
- string
10471024
value:
1048-
type:
1049-
- string
1050-
- integer
1025+
oneOf:
1026+
- type: string
1027+
- type: integer
10511028
examples:
10521029
Success Example:
10531030
value:

settings.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ openapi: 3.0.0
22
info:
33
version: ''
44
title: Settings
5-
description: ''
6-
termsOfService: ''
7-
contact:
8-
name: ''
9-
url: ''
10-
email: ''
11-
license:
12-
url: ''
13-
name: ''
5+
description: |-
6+
Configure your Rocket.Chat workspace with the following endpoints:
7+
* **Settings**: Manage public and private settings.
8+
* **Cloud**: Register your workspace on Rocket.Chat Cloud.
9+
* **DNS**: Resolve DNS text and URL records.
10+
* **E2E**: Create and manage [E2E](https://docs.rocket.chat/use-rocket.chat/workspace-administration/settings/e2e-encryption) keys.
11+
* **Import** and **Bulk user import**: Import users, rooms, and other details to your workspace.
12+
* **Instances**: View details of your instances.
13+
* **Federation**: Add and manage [federated](https://docs.rocket.chat/use-rocket.chat/workspace-administration/settings/federation) servers.
14+
* **Moderation**: View and manage [reported messages](https://docs.rocket.chat/use-rocket.chat/workspace-administration/moderation).
15+
* **Device management**: Manage [user sessions](https://docs.rocket.chat/use-rocket.chat/user-management/device-manager) on the workspace.
1416
servers:
1517
- url: 'http://localhost:3000'
1618
paths:
@@ -3566,4 +3568,4 @@ components:
35663568
Permission Error:
35673569
value:
35683570
success: false
3569-
error: 'User does not have the permissions required for this action [error-unauthorized]'
3571+
error: 'User does not have the permissions required for this action [error-unauthorized]'

statistics.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
openapi: 3.0.0
22
info:
3-
version: ''
3+
version: 1.0.0
44
title: Statistics
5-
contact:
6-
name: ''
7-
url: ''
8-
email: ''
9-
license:
10-
url: ''
11-
name: ''
5+
description: |-
6+
* View your Rocket.Chat workspace **statistics**.
7+
* Get the following workspace [engagement](https://docs.rocket.chat/use-rocket.chat/workspace-administration/engagement) details:
8+
* **Channels**
9+
* **Messages**
10+
* **Users**
11+
* View and manage channel **subscription** information.
1212
servers:
1313
- url: 'http://localhost:3000'
1414
paths:
@@ -3006,4 +3006,4 @@ components:
30063006
examples:
30073007
Example 1:
30083008
value:
3009-
success: true
3009+
success: true

0 commit comments

Comments
 (0)