[amazonechocontrol] fix api url (#9982)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
parent
db3e2b690c
commit
429183b75b
@ -1875,7 +1875,7 @@ public class Connection {
|
||||
|
||||
public @Nullable JsonAutomation @Nullable [] getRoutines()
|
||||
throws IOException, URISyntaxException, InterruptedException {
|
||||
String json = makeRequestAndReturnString(alexaServer + "/api/behaviors/automations?limit=2000");
|
||||
String json = makeRequestAndReturnString(alexaServer + "/api/behaviors/v2/automations?limit=2000");
|
||||
JsonAutomation[] result = parseJson(json, JsonAutomation[].class);
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user