Skip to content

Commit

Permalink
Add X-organization header to Series V1/V2 endpoints (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkokurt authored Jul 24, 2024
1 parent 1a93257 commit 5a8f8ed
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/languages/go_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"gitRepoId": "iot-client-go",
"isGoSubmodule": true,
"packageName": "v2",
"packageVersion": "2.0.4",
"packageVersion": "2.0.5",
"withGoCodegenComment": true
}
2 changes: 1 addition & 1 deletion config/languages/html2_v2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packageName": "iot",
"packageVersion": "2.0.4",
"packageVersion": "2.0.5",
"usePromises": true
}
4 changes: 2 additions & 2 deletions config/languages/javascript_v2.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"projectName": "@arduino/arduino-iot-client",
"moduleName": "ArduinoIotClient",
"projectVersion": "2.0.4",
"packageVersion": "2.0.4",
"projectVersion": "2.0.5",
"packageVersion": "2.0.5",
"usePromises": true,
"licenseName":"GPLv3",
"generateSourceCodeOnly": true
Expand Down
2 changes: 1 addition & 1 deletion config/languages/python_v2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packageName": "iot_api_client",
"projectName": "arduino-iot-client",
"packageVersion": "2.0.4",
"packageVersion": "2.0.5",
"generateSourceCodeOnly": false
}
36 changes: 36 additions & 0 deletions spec/v2/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ components:
ArduinoDashboardv2:
description: Dashboard is a collection of widgets (default view)
properties:
cover_image:
description: The cover image of the dashboard
maxLength: 1024
type: string
created_by:
$ref: '#/components/schemas/ArduinoDashboardowner'
id:
Expand Down Expand Up @@ -160,6 +164,9 @@ components:
ArduinoDashboardv2template:
description: ArduinoDashboardv2template media type (default view)
properties:
cover_image:
description: The cover image of the dashboard
type: string
id:
description: The friendly ID of the dashboard
type: string
Expand Down Expand Up @@ -2047,6 +2054,10 @@ components:
dashboardv2:
description: DashboardV2Payload describes a dashboard
properties:
cover_image:
description: The cover image of the dashboard
maxLength: 1024
type: string
name:
description: The friendly name of the dashboard
maxLength: 64
Expand Down Expand Up @@ -5085,6 +5096,11 @@ paths:
post:
description: Returns the batch of time-series aggregated samples
operationId: series_v2#batch_query
parameters:
- in: header
name: X-Organization
schema:
type: string
requestBody:
content:
application/json:
Expand Down Expand Up @@ -5145,6 +5161,11 @@ paths:
post:
description: Returns the batch of time-series raw samples
operationId: series_v2#batch_query_raw
parameters:
- in: header
name: X-Organization
schema:
type: string
requestBody:
content:
application/json:
Expand Down Expand Up @@ -5205,6 +5226,11 @@ paths:
post:
description: Returns the batch of time-series data raw
operationId: series_v2#batch_query_raw_last_value
parameters:
- in: header
name: X-Organization
schema:
type: string
requestBody:
content:
application/json:
Expand Down Expand Up @@ -5258,6 +5284,11 @@ paths:
types that does not support mathematic aggregation. Types supported: strings,
complex types.'
operationId: series_v2#batch_query_sampling
parameters:
- in: header
name: X-Organization
schema:
type: string
requestBody:
content:
application/json:
Expand Down Expand Up @@ -5318,6 +5349,11 @@ paths:
post:
description: Request sending of historical data of properties by email
operationId: series_v2#historic_data
parameters:
- in: header
name: X-Organization
schema:
type: string
requestBody:
content:
application/json:
Expand Down

0 comments on commit 5a8f8ed

Please sign in to comment.