This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs for integrations.settings endpoint (#1473)
- Loading branch information
1 parent
25aa015
commit f1fa245
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
developer-guides/rest-api/livechat/integrations-settings/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Integrations Settings | ||
|
||
Retrieves a list of integration settings. | ||
|
||
| URL | Requires Auth | HTTP Method | | ||
| :--- | :--- | :--- | | ||
| `/api/v1/livechat/integrations.settings` | `yes` | `GET` | | ||
|
||
## Example Call | ||
|
||
```bash | ||
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \ | ||
-H "X-User-Id: aobEdbYhXfu5hkeqG" \ | ||
http://localhost:3000/api/v1/livechat/integrations.settings | ||
``` | ||
|
||
## Example Result | ||
|
||
```json | ||
{ | ||
"settings": [ | ||
{ | ||
"_id": "Livechat_secret_token", | ||
"_updatedAt": "2019-10-17T13:56:07.285Z", | ||
"autocomplete": true, | ||
"blocked": false, | ||
"createdAt": "2019-10-07T18:52:20.484Z", | ||
"group": "Livechat", | ||
"hidden": false, | ||
"i18nDescription": "Livechat_secret_token_Description", | ||
"i18nLabel": "Secret_token", | ||
"packageValue": "", | ||
"secret": true, | ||
"section": "CRM_Integration", | ||
"sorter": 25, | ||
"ts": "2019-10-07T21:00:01.287Z", | ||
"type": "string", | ||
"value": "", | ||
"valueSource": "meteorSettingsValue", | ||
"meteorSettingsValue": "" | ||
} | ||
], | ||
"success": true | ||
} | ||
``` | ||
|
||
## Change Log | ||
|
||
| Version | Description | | ||
| :--- | :--- | | ||
| 2.2.0 | Added | |