From 5492f37a54404580ce7d750abac0b94fc8ff2bdd Mon Sep 17 00:00:00 2001
From: Murtaza Patrawala <34130764+murtaza98@users.noreply.github.com>
Date: Tue, 18 Oct 2022 20:03:31 +0530
Subject: [PATCH] Chore: Updating docs links and provide more context about
session Id (#82)
---
docs/api-endpoints/close-chat.md | 3 ++-
docs/api-endpoints/perform-handover.md | 3 ++-
docs/api-endpoints/send-message.md | 3 ++-
docs/api-endpoints/trigger-event.md | 3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/docs/api-endpoints/close-chat.md b/docs/api-endpoints/close-chat.md
index e91cfd0..37f1d71 100644
--- a/docs/api-endpoints/close-chat.md
+++ b/docs/api-endpoints/close-chat.md
@@ -5,6 +5,7 @@
* **URL**
REST API URL can be found on Apps Page
+ 
Sample Url for eg:
`http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`
* **Method:**
@@ -22,7 +23,7 @@
1. `action`=`close-chat`
2. `sessionId=[string]`
- > Note. Session Id is the same session of Dialogflow
+ > Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.
* **Success Response:**
diff --git a/docs/api-endpoints/perform-handover.md b/docs/api-endpoints/perform-handover.md
index a314c79..3021e9f 100644
--- a/docs/api-endpoints/perform-handover.md
+++ b/docs/api-endpoints/perform-handover.md
@@ -5,6 +5,7 @@
* **URL**
REST API URL can be found on Apps Page
+ 
Sample Url for eg:
`http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`
* **Method:**
@@ -22,7 +23,7 @@
1. `action` = `handover`
2. `sessionId=[string]`
- > Note. Session Id is the same session of Dialogflow
+ > Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.
**Optional:**
diff --git a/docs/api-endpoints/send-message.md b/docs/api-endpoints/send-message.md
index 6b22891..e81a14f 100644
--- a/docs/api-endpoints/send-message.md
+++ b/docs/api-endpoints/send-message.md
@@ -5,6 +5,7 @@
* **URL**
REST API URL can be found on Apps Page
+ 
Sample Url for eg:
`http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`
* **Method:**
@@ -22,7 +23,7 @@
1. `action` = `send-message`
2. `sessionId=[string]`
- > Note. Session Id is the same session of Dialogflow
+ > Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.
3. ```bash
actionData: {
diff --git a/docs/api-endpoints/trigger-event.md b/docs/api-endpoints/trigger-event.md
index a2f3925..6846777 100644
--- a/docs/api-endpoints/trigger-event.md
+++ b/docs/api-endpoints/trigger-event.md
@@ -5,6 +5,7 @@
* **URL**
REST API URL can be found on Apps Page
+ 
Sample Url for eg:
`http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`
* **Method:**
@@ -22,7 +23,7 @@
1. `action` = `trigger-event`
2. `sessionId=[string]`
- > Note. Session Id is the same session of Dialogflow
+ > Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.
3. ```bash
actionData: {