|
@@ -28,6 +28,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignsGET
|
|
operationId: campaignsGET
|
|
|
summary: Publish info about all campaigns
|
|
summary: Publish info about all campaigns
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [telemetry:read]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -51,6 +53,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdGET
|
|
operationId: campaignIdGET
|
|
|
summary: Publish info about a campaign
|
|
summary: Publish info about a campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
@@ -73,6 +77,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitsGET
|
|
operationId: campaignIdUnitsGET
|
|
|
summary: Publish info about the campaign's units
|
|
summary: Publish info about the campaign's units
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
@@ -97,6 +103,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitsObservationsGET
|
|
operationId: campaignIdUnitsObservationsGET
|
|
|
summary: Publish info about all data of units merged together within the campaign
|
|
summary: Publish info about all data of units merged together within the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/fromParam'
|
|
- $ref: '#/components/parameters/fromParam'
|
|
@@ -125,6 +133,8 @@ paths:
|
|
|
$ref: '#/components/schemas/Error'
|
|
$ref: '#/components/schemas/Error'
|
|
|
post:
|
|
post:
|
|
|
operationId: campaignIdUnitsObservationsPOST
|
|
operationId: campaignIdUnitsObservationsPOST
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:write ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
requestBody:
|
|
requestBody:
|
|
@@ -156,6 +166,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitsObservationsLocationsGET
|
|
operationId: campaignIdUnitsObservationsLocationsGET
|
|
|
summary: Publish info about all data of units merged together within the campaign
|
|
summary: Publish info about all data of units merged together within the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/limitPerUnitParam'
|
|
- $ref: '#/components/parameters/limitPerUnitParam'
|
|
@@ -187,6 +199,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitIdGET
|
|
operationId: campaignIdUnitIdGET
|
|
|
summary: Publish info about the unit within its campaign's scope
|
|
summary: Publish info about the unit within its campaign's scope
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -210,6 +224,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitIdObservationsGET
|
|
operationId: campaignIdUnitIdObservationsGET
|
|
|
summary: Publish info about all data of the unit within the campaign
|
|
summary: Publish info about all data of the unit within the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -242,6 +258,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitIdLocationsGET
|
|
operationId: campaignIdUnitIdLocationsGET
|
|
|
summary: Publish locations of the unit within the campaign
|
|
summary: Publish locations of the unit within the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -274,6 +292,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitIdSensorsGET
|
|
operationId: campaignIdUnitIdSensorsGET
|
|
|
summary: Publish info about all sensors of the unit within the campaign
|
|
summary: Publish info about all sensors of the unit within the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -298,6 +318,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitIdSensorIdGET
|
|
operationId: campaignIdUnitIdSensorIdGET
|
|
|
summary: Publish info about all sensors associated with the unit and the campaign
|
|
summary: Publish info about all sensors associated with the unit and the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -321,6 +343,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: campaignIdUnitIdSensorIdObservationsGET
|
|
operationId: campaignIdUnitIdSensorIdObservationsGET
|
|
|
summary: Publish info about all data of the unit within the campaign
|
|
summary: Publish info about all data of the unit within the campaign
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
- $ref: '#/components/parameters/campaignIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -354,6 +378,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: unitsGET
|
|
operationId: unitsGET
|
|
|
summary: Publish info about all units
|
|
summary: Publish info about all units
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
|
responses:
|
|
responses:
|
|
@@ -376,6 +402,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: unitIdGET
|
|
operationId: unitIdGET
|
|
|
summary: Publish info about the unit
|
|
summary: Publish info about the unit
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -397,6 +425,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: unitIdSensorsGET
|
|
operationId: unitIdSensorsGET
|
|
|
summary: Publish info about sensors assigned to the unit
|
|
summary: Publish info about sensors assigned to the unit
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -420,6 +450,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: unitIdCampaignsGET
|
|
operationId: unitIdCampaignsGET
|
|
|
summary: Publish info about campaigns where the unit was/is assigned
|
|
summary: Publish info about campaigns where the unit was/is assigned
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
@@ -444,6 +476,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: unitIdDriversGET
|
|
operationId: unitIdDriversGET
|
|
|
summary: Publish basic info about drivers who performed actions upon the unit
|
|
summary: Publish basic info about drivers who performed actions upon the unit
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -467,6 +501,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: sensorsGET
|
|
operationId: sensorsGET
|
|
|
summary: Publish info about all sensors
|
|
summary: Publish info about all sensors
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
|
responses:
|
|
responses:
|
|
@@ -489,6 +525,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: sensorIdGET
|
|
operationId: sensorIdGET
|
|
|
summary: Publish info about the sensor
|
|
summary: Publish info about the sensor
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/sensorIdParam'
|
|
- $ref: '#/components/parameters/sensorIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -510,6 +548,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: sensorIdUnitsGET
|
|
operationId: sensorIdUnitsGET
|
|
|
summary: Publish info about units to whom the sensor is assigned
|
|
summary: Publish info about units to whom the sensor is assigned
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/sensorIdParam'
|
|
- $ref: '#/components/parameters/sensorIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -534,6 +574,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: phenomenonsGET
|
|
operationId: phenomenonsGET
|
|
|
summary: Publish info about all phenomenons
|
|
summary: Publish info about all phenomenons
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
|
responses:
|
|
responses:
|
|
@@ -556,6 +598,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: phenomenonIdGET
|
|
operationId: phenomenonIdGET
|
|
|
summary: Publish info about the phenomenon
|
|
summary: Publish info about the phenomenon
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/phenomenonIdParam'
|
|
- $ref: '#/components/parameters/phenomenonIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -577,6 +621,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: phenomenonIdSensorsGET
|
|
operationId: phenomenonIdSensorsGET
|
|
|
summary: Publish info about sensors of the phenomenon
|
|
summary: Publish info about sensors of the phenomenon
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/phenomenonIdParam'
|
|
- $ref: '#/components/parameters/phenomenonIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -600,6 +646,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driversGET
|
|
operationId: driversGET
|
|
|
summary: Publish basic info about all drivers
|
|
summary: Publish basic info about all drivers
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
|
responses:
|
|
responses:
|
|
@@ -622,6 +670,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdGET
|
|
operationId: driverIdGET
|
|
|
summary: Publish detailed info about the driver
|
|
summary: Publish detailed info about the driver
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
- $ref: '#/components/parameters/navigationLinksParam'
|
|
@@ -643,6 +693,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdUnitsGET
|
|
operationId: driverIdUnitsGET
|
|
|
summary: Publish basic info about driver's units
|
|
summary: Publish basic info about driver's units
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/fromParam'
|
|
- $ref: '#/components/parameters/fromParam'
|
|
@@ -668,6 +720,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdUnitIdGET
|
|
operationId: driverIdUnitIdGET
|
|
|
summary: Publish detailed info about driver's unit
|
|
summary: Publish detailed info about driver's unit
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -690,6 +744,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdUnitIdActionsGET
|
|
operationId: driverIdUnitIdActionsGET
|
|
|
summary: Publish basic info actions performed on the unit by the driver
|
|
summary: Publish basic info actions performed on the unit by the driver
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -714,6 +770,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdActionsGET
|
|
operationId: driverIdActionsGET
|
|
|
summary: Publish basic info about driver's actions
|
|
summary: Publish basic info about driver's actions
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/fromParam'
|
|
- $ref: '#/components/parameters/fromParam'
|
|
@@ -739,6 +797,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdActionIdGET
|
|
operationId: driverIdActionIdGET
|
|
|
summary: Publish detailed info about the driver's action
|
|
summary: Publish detailed info about the driver's action
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/actionIdParam'
|
|
- $ref: '#/components/parameters/actionIdParam'
|
|
@@ -761,6 +821,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdActionIdUnitsGET
|
|
operationId: driverIdActionIdUnitsGET
|
|
|
summary: Publish basic info about units on which the driver performed its action
|
|
summary: Publish basic info about units on which the driver performed its action
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/actionIdParam'
|
|
- $ref: '#/components/parameters/actionIdParam'
|
|
@@ -785,6 +847,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdActionIdUnitIdGET
|
|
operationId: driverIdActionIdUnitIdGET
|
|
|
summary: Publish detail info about the unit on which the driver performed the action
|
|
summary: Publish detail info about the unit on which the driver performed the action
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/actionIdParam'
|
|
- $ref: '#/components/parameters/actionIdParam'
|
|
@@ -808,6 +872,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdUnitIdActionIdGET
|
|
operationId: driverIdUnitIdActionIdGET
|
|
|
summary: Publish detailed info about the action performed on the unit by the driver
|
|
summary: Publish detailed info about the action performed on the unit by the driver
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -831,6 +897,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: driverIdUnitIdActionIdEventsGET
|
|
operationId: driverIdUnitIdActionIdEventsGET
|
|
|
summary: Publish basic info about events that where performed on the unit byt the driver with the specific action
|
|
summary: Publish basic info about events that where performed on the unit byt the driver with the specific action
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
- $ref: '#/components/parameters/driverIdParam'
|
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
- $ref: '#/components/parameters/unitIdParam'
|
|
@@ -858,6 +926,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: eventIdGET
|
|
operationId: eventIdGET
|
|
|
summary: Publish basic info about events that where performed on the unit byt the driver with the specific action
|
|
summary: Publish basic info about events that where performed on the unit byt the driver with the specific action
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/eventIdParam'
|
|
- $ref: '#/components/parameters/eventIdParam'
|
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
@@ -880,6 +950,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: eventIdObservationsGET
|
|
operationId: eventIdObservationsGET
|
|
|
summary: Publish telemetry observations created by the driver while performing specific action on the unit at the time/event
|
|
summary: Publish telemetry observations created by the driver while performing specific action on the unit at the time/event
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/eventIdParam'
|
|
- $ref: '#/components/parameters/eventIdParam'
|
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
- $ref: '#/components/parameters/zoneParam'
|
|
@@ -909,6 +981,8 @@ paths:
|
|
|
get:
|
|
get:
|
|
|
operationId: eventIdLocationsGET
|
|
operationId: eventIdLocationsGET
|
|
|
summary: Publish locations created by the driver while performing specific action on the unit at the time/event
|
|
summary: Publish locations created by the driver while performing specific action on the unit at the time/event
|
|
|
|
|
+ security:
|
|
|
|
|
+ - hubJwtAuth: [ telemetry:read ]
|
|
|
parameters:
|
|
parameters:
|
|
|
- $ref: '#/components/parameters/eventIdParam'
|
|
- $ref: '#/components/parameters/eventIdParam'
|
|
|
- $ref: '#/components/parameters/fromParam'
|
|
- $ref: '#/components/parameters/fromParam'
|
|
@@ -937,12 +1011,11 @@ paths:
|
|
|
$ref: '#/components/schemas/Error'
|
|
$ref: '#/components/schemas/Error'
|
|
|
|
|
|
|
|
components:
|
|
components:
|
|
|
-
|
|
|
|
|
-# securitySchemes:
|
|
|
|
|
-# ApiKeyAuth:
|
|
|
|
|
-# type: apiKey
|
|
|
|
|
-# in: header
|
|
|
|
|
-# name: Authorization
|
|
|
|
|
|
|
+ securitySchemes:
|
|
|
|
|
+ hubJwtAuth:
|
|
|
|
|
+ type: http
|
|
|
|
|
+ scheme: bearer
|
|
|
|
|
+ bearerFormat: JWT
|
|
|
|
|
|
|
|
parameters:
|
|
parameters:
|
|
|
campaignIdParam:
|
|
campaignIdParam:
|