Skip to content

Commit b8cbb27

Browse files
authored
Address comment
1 parent 5b2ae0e commit b8cbb27

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

articles/cognitive-services/Speech-Service/how-to-develop-custom-commands-application.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,15 @@ The Custom Commands feature allows you to configure string-type parameters to re
352352
353353
Reuse the `SubjectDevice` parameter from the `TurnOnOff` command. The current configuration for this parameter is **Accept predefined inputs from internal catalog**. This configuration refers to a static list of devices in the parameter configuration. Move out this content to an external data source that can be updated independently.
354354
355-
To move the content, start by adding a new web endpoint. In the pane on the left, go to the **Web endpoints** section. There, add a new web endpoint URL. Please configure and host a web endpoint that returns a JSON file that consists of the list of the devices that can be controlled. The web endpoint should return a JSON file formatted as follows:
355+
To move the content, start by adding a new web endpoint. In the pane on the left, go to the **Web endpoints** section. There, add a new web endpoint URL. Use the following configuration.
356+
357+
| Setting | Suggested value |
358+
|----|----|
359+
| **Name** | `getDevices` |
360+
| **URL** | `<Your endpoint of getDevices.json>` |
361+
| **Method** | **GET** |
362+
363+
Please configure and host a web endpoint that returns a JSON file that consists of the list of the devices that can be controlled. The web endpoint should return a JSON file formatted as follows:
356364
357365
```json
358366
{

0 commit comments

Comments
 (0)