From 63ac947c8b647d2bf45523ecc31f11c74dd5e4ed Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Fri, 20 Sep 2024 08:56:32 +0200 Subject: [PATCH 1/2] Update iot-api swagger to September 2024 --- spec/v2/swagger.yaml | 723 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 702 insertions(+), 21 deletions(-) diff --git a/spec/v2/swagger.yaml b/spec/v2/swagger.yaml index d387889..d74ec91 100644 --- a/spec/v2/swagger.yaml +++ b/spec/v2/swagger.yaml @@ -12,8 +12,6 @@ components: description: Not Implemented OK: description: OK - Unauthorized: - description: Unauthorized schemas: ArduinoCompressedv2: description: compressed contains the info from which to generate the certificate @@ -816,6 +814,61 @@ components: title: 'Mediatype identifier: application/vnd.arduino.property+json; type=collection; view=default' type: array + ArduinoPropertytype: + description: ArduinoPropertytype media type (default view) + properties: + assistants: + description: The voice assistants available for this type + items: + type: string + type: array + declaration: + description: The c++ type we are using for this variable type + type: string + deprecated: + description: Tell if this type is deprecated + type: boolean + example: + description: Example of use + type: string + name: + description: The friendly name of the property type + type: string + rw: + description: Tell if the type allow a R/W permission + type: boolean + supersededBy: + description: The type of property to use if it's deprecated + type: string + tags: + description: The tags related to the type + items: + type: string + type: array + type: + description: The api reference of this type + type: string + units: + description: The measure units available for this type + items: + type: string + type: array + required: + - name + - deprecated + - rw + - type + - declaration + title: 'Mediatype identifier: application/vnd.arduino.propertytype+json; view=default' + type: object + ArduinoPropertytypeCollection: + description: ArduinoPropertytypeCollection is the media type for an array of + ArduinoPropertytype (default view) + items: + $ref: '#/components/schemas/ArduinoPropertytype' + title: 'Mediatype identifier: application/vnd.arduino.propertytype+json; type=collection; + view=default' + type: array ArduinoSeriesBatch: description: ArduinoSeriesBatch media type (default view) properties: @@ -935,6 +988,16 @@ components: default: "" description: If the response is different than 'ok' type: string + property_id: + description: Property id + format: uuid + type: string + property_name: + description: Property name + type: string + property_type: + description: Property type + type: string query: description: Query of for the data type: string @@ -957,6 +1020,10 @@ components: status: description: Status of the response type: string + thing_id: + description: Thing id + format: uuid + type: string times: description: Timestamp in RFC3339 items: @@ -1026,6 +1093,16 @@ components: default: "" description: If the response is different than 'ok' type: string + property_id: + description: Property id + format: uuid + type: string + property_name: + description: Property name + type: string + property_type: + description: Property type + type: string query: description: Query of for the data type: string @@ -1041,6 +1118,10 @@ components: status: description: Status of the response type: string + thing_id: + description: Thing id + format: uuid + type: string times: description: Timestamp in RFC3339 items: @@ -1089,6 +1170,16 @@ components: default: "" description: If the response is different than 'ok' type: string + property_id: + description: Property id + format: uuid + type: string + property_name: + description: Property name + type: string + property_type: + description: Property type + type: string query: description: Query of for the data type: string @@ -1104,6 +1195,10 @@ components: status: description: Status of the response type: string + thing_id: + description: Thing id + format: uuid + type: string times: description: Timestamp in RFC3339 items: @@ -1620,10 +1715,12 @@ components: format: date-time type: string q: - description: Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5) + description: Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 + or thing.95717675-4786-4ffc-afcc-799777755391) type: string series_limit: - description: Max of values + description: 'Maximum number of values returned, if any (default/limit: + 1000, 10000 in case of thing query)' format: int64 type: integer sort: @@ -1699,11 +1796,12 @@ components: format: int64 type: integer q: - description: Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5) + description: Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 + or thing.95717675-4786-4ffc-afcc-799777755391) type: string series_limit: description: 'Maximum number of values returned after data aggregation, - if any (default: 300, limit: 1000)' + if any (default: 300, limit: 1000 - 10000 in case of thing query)' format: int64 type: integer to: @@ -1840,10 +1938,7 @@ components: - mkr1000 - nano_33_iot - mkrgsm1400 - - mkrwan1310 - - mkrwan1300 - mkrnb1500 - - lora-device - login_and_secretkey_wifi - envie_m7 - nanorp2040connect @@ -2106,10 +2201,7 @@ components: - mkr1000 - nano_33_iot - mkrgsm1400 - - mkrwan1310 - - mkrwan1300 - mkrnb1500 - - lora-device - login_and_secretkey_wifi - envie_m7 - nanorp2040connect @@ -2786,8 +2878,18 @@ paths: application/vnd.arduino.credentialsv1+json; type=collection: schema: $ref: '#/components/schemas/ArduinoCredentialsv1Collection' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/ArduinoCredentialsv1Collection' description: OK "401": + content: + application/vnd.arduino.credentialsv1+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -2827,12 +2929,47 @@ paths: "200": description: OK "401": + content: + application/json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found summary: showByDevice network_credentials_v1 tags: - network_credentials_v1 + /v1/property_types: + get: + description: Returns the list of available property types + operationId: property_types_v1#listTypes + responses: + "200": + content: + application/vnd.arduino.propertytype+json; type=collection: + schema: + $ref: '#/components/schemas/ArduinoPropertytypeCollection' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/ArduinoPropertytypeCollection' + description: OK + "500": + content: + application/vnd.arduino.propertytype+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Internal Server Error + security: + - oauth2: [] + summary: listTypes property_types_v1 + tags: + - property_types_v1 /v1/templates: put: description: Apply an existing cloud template and generate all the needed resources @@ -2873,6 +3010,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.template+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": content: @@ -2935,6 +3079,15 @@ paths: schema: $ref: '#/components/schemas/ArduinoDashboardv2Collection' description: OK + "400": + content: + application/vnd.arduino.dashboardv2+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Bad Request "401": content: application/vnd.arduino.dashboardv2+json; type=collection: @@ -2944,6 +3097,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.dashboardv2+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "500": content: application/vnd.arduino.dashboardv2+json; type=collection: @@ -3005,6 +3167,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.dashboardv2+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "500": content: application/vnd.arduino.dashboardv2+json: @@ -3055,6 +3226,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3182,6 +3362,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.dashboardv2+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3251,6 +3440,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.dashboardv2+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3313,6 +3511,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3372,6 +3579,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.dashboardshare+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3433,6 +3649,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3491,6 +3716,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3550,6 +3784,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.dashboardv2template+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3625,6 +3868,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.variableslinks+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -3698,6 +3950,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "500": content: application/vnd.arduino.devicev2+json; type=collection: @@ -3750,6 +4011,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "412": content: application/vnd.arduino.devicev2+json: @@ -3800,6 +4070,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.goa.error+json: @@ -3847,7 +4128,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized - "500": + "403": content: application/vnd.arduino.devicev2+json: schema: @@ -3855,14 +4136,25 @@ paths: application/vnd.goa.error+json: schema: $ref: '#/components/schemas/error' - description: Internal Server Error - security: - - oauth2: [] - summary: show devices_v2 - tags: - - devices_v2 - post: - description: Updates a device associated to the user + description: Forbidden + "404": + description: Not Found + "500": + content: + application/vnd.arduino.devicev2+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Internal Server Error + security: + - oauth2: [] + summary: show devices_v2 + tags: + - devices_v2 + post: + description: Updates a device associated to the user operationId: devices_v2#update parameters: - description: The id of the device @@ -3914,6 +4206,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.arduino.devicev2+json: @@ -3950,6 +4253,13 @@ paths: $ref: '#/components/schemas/ArduinoDevicev2CertCollection' description: OK "401": + content: + application/vnd.arduino.devicev2.cert+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4008,6 +4318,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.devicev2.cert+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4046,6 +4363,13 @@ paths: "200": description: OK "401": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4090,6 +4414,13 @@ paths: $ref: '#/components/schemas/ArduinoDevicev2Cert' description: OK "401": + content: + application/vnd.arduino.devicev2.cert+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4154,6 +4485,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.devicev2.cert+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4215,6 +4553,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2.event.properties+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.arduino.devicev2.event.properties+json: @@ -4304,7 +4653,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.devicev2.otaupload+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2.otaupload+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": content: application/vnd.arduino.devicev2.otaupload+json: @@ -4383,6 +4748,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": content: @@ -4461,6 +4833,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": content: @@ -4518,6 +4897,13 @@ paths: "200": description: OK "401": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4563,6 +4949,13 @@ paths: $ref: '#/components/schemas/ArduinoDevicev2Pass' description: OK "401": + content: + application/vnd.arduino.devicev2.pass+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4668,6 +5061,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.devicev2.pass+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -4725,6 +5125,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2properties+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.arduino.devicev2properties+json: @@ -4775,6 +5186,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.goa.error+json: @@ -4848,6 +5270,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2propertyvalues+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.arduino.devicev2propertyvalues+json: @@ -4916,6 +5349,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.devicev2.status.events+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.arduino.devicev2.status.events+json: @@ -5139,6 +5583,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.series.batch+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "501": @@ -5204,6 +5657,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.series.raw.batch+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "501": @@ -5260,6 +5722,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.series.raw.batch.lastvalue+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "501": @@ -5327,6 +5798,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.series.batch.sampled+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "501": @@ -5379,6 +5859,14 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.goa.error+json: @@ -5458,7 +5946,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thing+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json; type=collection: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "500": content: application/vnd.arduino.thing+json; type=collection: @@ -5519,7 +6023,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "409": content: application/vnd.arduino.thing+json: @@ -5586,7 +6106,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -5642,6 +6178,15 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -5710,7 +6255,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "409": @@ -5791,7 +6352,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -6318,6 +6895,13 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.timeseriesmedia+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized "404": description: Not Found @@ -6360,7 +6944,23 @@ paths: $ref: '#/components/schemas/ArduinoThing' description: OK "401": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": @@ -6422,7 +7022,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "412": @@ -6498,7 +7114,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thing+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": content: application/vnd.arduino.thing+json: @@ -6561,6 +7193,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.tags+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.arduino.tags+json: @@ -6616,6 +7259,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.goa.error+json: @@ -6669,6 +7323,17 @@ paths: schema: $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + text/plain: + schema: + $ref: '#/components/schemas/error' + description: Forbidden + "404": + description: Not Found "500": content: application/vnd.goa.error+json: @@ -6718,7 +7383,23 @@ paths: $ref: '#/components/schemas/error' description: Bad Request "401": + content: + application/vnd.arduino.thingtemplate+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' description: Unauthorized + "403": + content: + application/vnd.arduino.thingtemplate+json: + schema: + $ref: '#/components/schemas/error' + application/vnd.goa.error+json: + schema: + $ref: '#/components/schemas/error' + description: Forbidden "404": description: Not Found "500": From 4960619cf47dd0bad214e33f0fbdb154d101a530 Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Fri, 20 Sep 2024 09:07:37 +0200 Subject: [PATCH 2/2] Version update --- config/languages/go_v2.json | 2 +- config/languages/html2_v2.json | 2 +- config/languages/javascript_v2.json | 4 ++-- config/languages/python_v2.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/languages/go_v2.json b/config/languages/go_v2.json index 2774c53..3637a3c 100644 --- a/config/languages/go_v2.json +++ b/config/languages/go_v2.json @@ -3,6 +3,6 @@ "gitRepoId": "iot-client-go", "isGoSubmodule": true, "packageName": "v2", - "packageVersion": "2.0.5", + "packageVersion": "2.0.6", "withGoCodegenComment": true } \ No newline at end of file diff --git a/config/languages/html2_v2.json b/config/languages/html2_v2.json index 8c0e530..06b2232 100644 --- a/config/languages/html2_v2.json +++ b/config/languages/html2_v2.json @@ -1,5 +1,5 @@ { "packageName": "iot", - "packageVersion": "2.0.5", + "packageVersion": "2.0.6", "usePromises": true } \ No newline at end of file diff --git a/config/languages/javascript_v2.json b/config/languages/javascript_v2.json index d93dc49..3b7850b 100644 --- a/config/languages/javascript_v2.json +++ b/config/languages/javascript_v2.json @@ -1,8 +1,8 @@ { "projectName": "@arduino/arduino-iot-client", "moduleName": "ArduinoIotClient", - "projectVersion": "2.0.5", - "packageVersion": "2.0.5", + "projectVersion": "2.0.6", + "packageVersion": "2.0.6", "usePromises": true, "licenseName":"GPLv3", "generateSourceCodeOnly": true diff --git a/config/languages/python_v2.json b/config/languages/python_v2.json index 1e30a07..b9ca964 100644 --- a/config/languages/python_v2.json +++ b/config/languages/python_v2.json @@ -1,6 +1,6 @@ { "packageName": "iot_api_client", "projectName": "arduino-iot-client", - "packageVersion": "2.0.5", + "packageVersion": "2.0.6", "generateSourceCodeOnly": false }