8000 Regenerate client from commit 324309c of spec repo (#11) · arduino/iot-client-js@17e8e2b · GitHub
[go: up one dir, main page]

Skip to content

Commit 17e8e2b

Browse files
github-actions[bot]Fabrizio Mirabito
authored and
Fabrizio Mirabito
committed
Regenerate client from commit 324309c of spec repo (#11)
1 parent 75611df commit 17e8e2b

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.apigentools-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"additional_stamps": [],
3-
"apigentools_version": "0.3.0.dev1",
3+
"apigentools_version": "0.5.0",
44
"codegen_version": "4.1.2",
55
"info_version": "1",
66
"image": null,
7-
"spec_repo_commit": "3967a5d"
7+
"spec_repo_commit": "324309c"
88
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var rp = require('request-promise');
8181

8282
var options = {
8383
method: 'POST',
84-
url: 'https://login.oniudra.cc/oauth/token',
84+
url: 'https://login.arduino.cc/oauth/token',
8585
headers: { 'content-type': 'application/x-www-form-urlencoded' },
8686
json: true,
8787
form: {

docs/DevicesV2Api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IotApi.DevicesV2Api
22

3-
All URIs are relative to *http://api-dev.arduino.cc/iot*
3+
All URIs are relative to *http://api2.arduino.cc/iot*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

docs/PropertiesV2Api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IotApi.PropertiesV2Api
22

3-
All URIs are relative to *http://api-dev.arduino.cc/iot*
3+
All URIs are relative to *http://api2.arduino.cc/iot*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

docs/SeriesV2Api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IotApi.SeriesV2Api
22

3-
All URIs are relative to *http://api-dev.arduino.cc/iot*
3+
All URIs are relative to *http://api2.arduino.cc/iot*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

docs/ThingsV2Api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IotApi.ThingsV2Api
22

3-
All URIs are relative to *http://api-dev.arduino.cc/iot*
3+
All URIs are relative to *http://api2.arduino.cc/iot*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

src/ApiClient.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class ApiClient {
3232
/**
3333
* The base URL against which to resolve every API call's (relative) path.
3434
* @type {String}
35-
* @default http://api-dev.arduino.cc/iot
35+
* @default http://api2.arduino.cc/iot
3636
*/
37-
this.basePath = 'http://api-dev.arduino.cc/iot'.replace(/\/+$/, '');
37+
this.basePath = 'http://api2.arduino.cc/iot'.replace(/\/+$/, '');
3838

3939
/**
4040
* The authentication methods to be included for all API calls.
@@ -552,7 +552,7 @@ class ApiClient {
552552
hostSettings() {
553553
return [
554554
{
555-
'url': "http://api-dev.arduino.cc/iot",
555+
'url': "http://api2.arduino.cc/iot",
556556
'description': "No description provided",
557557
}
558558
];

0 commit comments

Comments
 (0)
0