Constructor
new ChatBotsGetService()
- Source:
Methods
call(user, chatbot_idsopt) → {Promise.<Object>}
Parameters:
Name |
Type |
Attributes |
Default |
Description |
user |
string
|
|
|
The ID of the user accessing the Soffos API.
This string will be used for throttling and profanity tracking.
Soffos assumes that the owner of the api is an application (app) and that app has users.
Soffos API will accept any string." |
chatbot_ids |
Array
|
<optional>
|
null
|
Specify the id of the chatbots you need to see the details for.
Don't pass this parameter if you wish to see all your created
chatbots. |
- Source:
Returns:
chatbots - A list of dictionaries with details about your chatbots.
-
Type
-
Promise.<Object>
Example
Examples are available at "https://github.com/Soffos-Inc/soffosai-js/tree/master/samples"
Parameters:
Name |
Type |
Attributes |
Default |
Description |
name |
string
|
|
|
Reference name of this Service.
It will be used by the Pipeline to reference this Service. |
chatbot_ids |
Array
|
InputConfig
|
<optional>
|
null
|
Specify the id of the chatbots you need to see the details for.
Don't pass this parameter if you wish to see all your created
chatbots. |
- Source: