Skip to content

Commit 5a8f8ed

Browse files
authored
Add X-organization header to Series V1/V2 endpoints (#89)
1 parent 1a93257 commit 5a8f8ed

File tree

5 files changed

+41
-5
lines changed

5 files changed

+41
-5
lines changed

config/languages/go_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"gitRepoId": "iot-client-go",
44
"isGoSubmodule": true,
55
"packageName": "v2",
6-
"packageVersion": "2.0.4",
6+
"packageVersion": "2.0.5",
77
"withGoCodegenComment": true
88
}

config/languages/html2_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"packageName": "iot",
3-
"packageVersion": "2.0.4",
3+
"packageVersion": "2.0.5",
44
"usePromises": true
55
}

config/languages/javascript_v2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"projectName": "@arduino/arduino-iot-client",
33
"moduleName": "ArduinoIotClient",
4-
"projectVersion": "2.0.4",
5-
"packageVersion": "2.0.4",
4+
"projectVersion": "2.0.5",
5+
"packageVersion": "2.0.5",
66
"usePromises": true,
77
"licenseName":"GPLv3",
88
"generateSourceCodeOnly": true

config/languages/python_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packageName": "iot_api_client",
33
"projectName": "arduino-iot-client",
4-
"packageVersion": "2.0.4",
4+
"packageVersion": "2.0.5",
55
"generateSourceCodeOnly": false
66
}

spec/v2/swagger.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ components:
120120
ArduinoDashboardv2:
121121
description: Dashboard is a collection of widgets (default view)
122122
properties:
123+
cover_image:
124+
description: The cover image of the dashboard
125+
maxLength: 1024
126+
type: string
123127
created_by:
124128
$ref: '#/components/schemas/ArduinoDashboardowner'
125129
id:
@@ -160,6 +164,9 @@ components:
160164
ArduinoDashboardv2template:
161165
description: ArduinoDashboardv2template media type (default view)
162166
properties:
167+
cover_image:
168+
description: The cover image of the dashboard
169+
type: string
163170
id:
164171
description: The friendly ID of the dashboard
165172
type: string
@@ -2047,6 +2054,10 @@ components:
20472054
dashboardv2:
20482055
description: DashboardV2Payload describes a dashboard
20492056
properties:
2057+
cover_image:
2058+
description: The cover image of the dashboard
2059+
maxLength: 1024
2060+
type: string
20502061
name:
20512062
description: The friendly name of the dashboard
20522063
maxLength: 64
@@ -5085,6 +5096,11 @@ paths:
50855096
post:
50865097
description: Returns the batch of time-series aggregated samples
50875098
operationId: series_v2#batch_query
5099+
parameters:
5100+
- in: header
5101+
name: X-Organization
5102+
schema:
5103+
type: string
50885104
requestBody:
50895105
content:
50905106
application/json:
@@ -5145,6 +5161,11 @@ paths:
51455161
post:
51465162
description: Returns the batch of time-series raw samples
51475163
operationId: series_v2#batch_query_raw
5164+
parameters:
5165+
- in: header
5166+
name: X-Organization
5167+
schema:
5168+
type: string
51485169
requestBody:
51495170
content:
51505171
application/json:
@@ -5205,6 +5226,11 @@ paths:
52055226
post:
52065227
description: Returns the batch of time-series data raw
52075228
operationId: series_v2#batch_query_raw_last_value
5229+
parameters:
5230+
- in: header
5231+
name: X-Organization
5232+
schema:
5233+
type: string
52085234
requestBody:
52095235
content:
52105236
application/json:
@@ -5258,6 +5284,11 @@ paths:
52585284
types that does not support mathematic aggregation. Types supported: strings,
52595285
complex types.'
52605286
operationId: series_v2#batch_query_sampling
5287+
parameters:
5288+
- in: header
5289+
name: X-Organization
5290+
schema:
5291+
type: string
52615292
requestBody:
52625293
content:
52635294
application/json:
@@ -5318,6 +5349,11 @@ paths:
53185349
post:
53195350
description: Request sending of historical data of properties by email
53205351
operationId: series_v2#historic_data
5352+
parameters:
5353+
- in: header
5354+
name: X-Organization
5355+
schema:
5356+
type: string
53215357
requestBody:
53225358
content:
53235359
application/json:

0 commit comments

Comments
 (0)