Skip to content

Commit 5b2ae0e

Browse files
authored
Remove the sample get-device.json short link
Suggest user to create their own web endpoint.
1 parent bd7bb0c commit 5b2ae0e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -352,16 +352,7 @@ 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. Use the following configuration.
356-
357-
| Setting | Suggested value |
358-
|----|----|
359-
| **Name** | `getDevices` |
360-
| **URL** | `https://aka.ms/speech/cc-sampledevices` |
361-
| **Method** | **GET** |
362-
363-
364-
If the suggested value for the URL doesn't work for you, 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. 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:
365356
366357
```json
367358
{

0 commit comments

Comments
 (0)