Skip to content

Commit

Permalink
[boschshc] Upgrade to REST API version 3.2 (#15053)
Browse files Browse the repository at this point in the history
closes #15053

Signed-off-by: David Pace <dev@davidpace.de>
  • Loading branch information
david-pace committed Jun 8, 2023
1 parent 8d0c9f2 commit e212ecc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public Request createRequest(String url, HttpMethod method, @Nullable Object con
logger.trace("Create request for http client {}", this);

Request request = this.newRequest(url).method(method).header("Content-Type", "application/json")
.header("api-version", "2.1") // see https://github.com/BoschSmartHome/bosch-shc-api-docs/issues/46
.header("api-version", "3.2") // see https://github.com/BoschSmartHome/bosch-shc-api-docs/issues/80
.timeout(10, TimeUnit.SECONDS); // Set default timeout

if (content != null) {
Expand Down

0 comments on commit e212ecc

Please sign in to comment.