-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathwebapi-b2b-changelog.yml
More file actions
576 lines (512 loc) · 20.4 KB
/
webapi-b2b-changelog.yml
File metadata and controls
576 lines (512 loc) · 20.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
- version: "3.19.3"
availability: in_use
release_date: 20 July 2025
description: |-
**Remote API**
- Added Stop charge status and Charge end time
- version: "3.19.2"
availability: in_use
release_date: 30 Jul 2024
description: |-
**Monitors API**
- Added vid to the attribute list. While creating monitor, vid now can be requested to be part of either header/body while sending the data.
- version: "3.19.1"
availability: in_use
release_date: 30 Jul 2024
description: |-
**Trips API**
- Added average Consumption field to energy consumption block on trips.
- version: "3.18.1"
availability: in_use
release_date: 30 Jul 2024
description: |-
**Waypoints, Status and Stolen API**
- Add endpoint /fleets/{fid}/vehicles/{vid}/stolen/{sid}/waypoints
- Add stolen object in :
- GET /fleets/{fid}/status
- GET /fleets/{fid}/vehicles/{vid}/status
- Expose stolen object on B2B API
- GET /fleets/{fid}/vehicles/{vid}/stolen/{sid}
- GET /fleets/{fid}/vehicles/{vid}/stolen/
- version: "3.18.0"
availability: in_use
release_date: 25 Jan 2024
description: |-
**Monitors API**
- Add vehicle.stolen in monitor extension
- Add stolen.state in data trigger list
- version: "3.17.2"
availability: not_in_use
release_date: '25 Jan 2024'
description: |-
**Remote API**
- Add remote stolen tracking period
- Add remote stolen immobilization
**Others**
- Complete missing examples
- version: "3.17.1"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Status API**
- Remove deprecated extension in status object
- version: "3.17.0"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Telemetry API**
- Remove deprecated adas.lrka
**Trip API**
- Update trip object (add energyConsumption, kinetic, segments, etc).
- Add new query parameter in trip API : distance, duration, states
- Remove deprecated trip API : GET /fleets/{fid}/trips/{tid}/collisions
- Remove deprecated trip API : GET /fleets/{fid}/trips/{tid}
- Remove deprecated trip API : GET /fleets/{fid}/trips/{tid}/alerts
- Remove deprecated trip API : GET /fleets/{fid}/trips/{tid}/alerts/{aid}
- Remove deprecated trip API : GET /fleets/{fid}/trips/{tid}/wayPoints
- Remove deprecated trip API : GET /fleets/{fid}/trips/{tid}/telemetry
**Monitor API**
- Add new data triggers capabilities : vehicle.trip.duration, vehicle.trip.distance, vehicle.trip.state
- Add new extendedEventParam capability : vehicle.trip
**Vehicles API**
- Update data scope name (description and onboardCapabilities section)
- Fix wording issue for remote wakeup scope name (description and onboardCapabilities section)
**Fleet API**
- Deprecate GET /fleets/{fid}/status
- Deprecate GET /fleets/{fid}/maintenances
- Deprecate GET /fleets/{fid}/alerts
- Deprecate GET /fleets/{fid}/alerts/{aid}
- Deprecate GET /fleets/{fid}/trips
- Deprecate GET /fleets/{fid}/collisions
- Deprecate GET /fleets/{fid}/collisions/{cid}
- version: "3.16.1"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Vehicles API**
- Remove createdAt date in /vehicles/vin
- Add missing collection result in /fleets/{fid}/vehicles
**Others**
- Update description and fix wording issues
- version: "3.16.0"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Monitors API**
- Add vehicle.alarm.trigger.type & vehicle.alarm.status.activation as datatriggers
- version: "3.15.0"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Vehicles API**
- Update remote section in onboardCapabilities object
**Vehicles API**
- Add /vehicles/{vin} endpoint in B2B API
- version: "3.14.0"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Vehicles API**
- Update onboardCapabilities object
**Status & Telemetry API**
- Update energies objects
**Status API**
- Update failureCause enum in preconditioning object
- Add startingCause data in preconditioning object
**Monitors API**
- Add charging type data trigger.
**Remote API**
- Update charging remote operation
- version: "3.13.1"
availability: not_in_use
release_date: 28 Nov 2023
description: |-
**Vehicles API**
- Add alarms information in link section
- version: "3.13.0"
availability: not_in_use
release_date: '20 Jul 2023'
description: |-
**Alarms API**
- Add of 2 news API : GET /fleets/{fid}/vehicles/{vid}/alarms & GET /fleets/{fid}/vehicles/{vid}/alarms/{aid}
**Telemetry API**
- Update TelemetryEnum list to include alarm values for type query parameter
**Telemetry & Status API**
- Update enum list ofrvv in adas object (LeakOfVisibilityRadar by LackOfVisibilityRadar)
**Others**
- Deprecate API /fleets/{fid}/vehicles/{vid}/lastPosition
- Remove several deprecated features
- version: "3.12.0"
availability: not_in_use
release_date: '20 Jul 2023'
description: |-
**Vehicle API**
- Add motorization in vehicle object
**Telemetry & Status API**
- Update enum list in speed for wipingBlades object (replace Hight by High)
- Update enum list in mode for drivingBehavior object (replace Confort by Comfort)
**Trips API**
- Deprecate the following endpoints : /fleets/{fid}/trips/{tid}/telemetry & /fleets/{fid}/trips/{tid}/wayPoints & /fleets/{fid}/trips/{tid}/alerts/{aid} & /fleets/{fid}/trips/{tid}/alerts & /fleets/{fid}/trips/{tid} & /fleets/{fid}/trips/{tid}/collisions
**Others**
- Add fixStatus in position object
- Update description and fix wording issues
- version: "3.11.0"
availability: not_in_use
release_date: '26 Apr 2023'
description: |-
**Telemetry & Status API**
- Add alarm object
- version: "3.10.0"
availability: not_in_use
release_date: '26 Apr 2023'
description: |-
**Telemetry & Status API**
- Add powertrain object
**Others**
- Update description & fix wording issue
- Update format/type mileageBeforeMaintenance data
- version: "3.9.0"
availability: not_in_use
release_date: '26 Apr 2023'
description: |-
**Telemetry & Status API**
- Update enum list of ignition (delete unnecessary "free" value)
- Add semiManual in transmission.gearbox.mode
- Replace adas.lrka by adas.llka (set adas.lrka in deprecated mode)
**Others**
- Aligne date behavior
- Update description & fix missing format/type
- version: "3.8.0"
availability: not_in_use
release_date: '20 feb 2023'
description: |-
**Telemetry & Status API**
- Update enum list of autoECallTriggering
- Fix wording issue in one item of adas accr data
- Add sequential value in transmission.gearbox.mode
**Others**
- Align date behavior (set createdAt in mandatory, etc)
- version: "3.7.1"
availability: not_in_use
release_date: '20 feb 2023'
description: |-
**Collisions API**
- Add mandatory state for side in collision object
**Others API**
- Aligne date behavior
- version: "3.7.0"
availability: not_in_use
release_date: '29 nov 2022'
description: |-
**Telemetry API**
- Add vehicle.lightingSystem in telemetry.type enum parameter
- Update energies object
**Status API**
- Update energies object
**Others**
- Align date (createdAt/UpdateAt) behavior
- version: "3.6.0"
availability: not_in_use
release_date: '29 nov 2022'
description: |-
**Telemetry & Status API**
- Update Lights object to add position information
**Telemetry API**
- Update rvv enum list
- version: "3.5.0"
availability: not_in_use
release_date: '14 Oct 2022'
description: |-
**Status & Telemetry API**
- Update energies object to include hydrogen motorization
**Telemetry API**
- Add rgi (recommend gear indicator) in adas object
**Monitor API**
- Update TimeTrigger structure definition
**Others**
- Specification bugfixing/optimization (add missing unit, swagger improvements)
- version: "3.4.1"
availability: not_in_use
release_date: '14 Oct 2022'
description: |-
**Alerts API**
- Update description for startPosition & endPosition
**Telemetry API**
- Update maxItem for telemetry type parameter
**Monitor API**
- Set AirConditioning in required state for remote preconditioning
**Others**
- Add a new enum in adas.parkAssist.rear
- version: "3.4.0"
availability: not_in_use
release_date: '14 Oct 2022'
description: |-
**Status API**
- Delete deprecated extensions : odometer & kinetic
- Delete deprecated data : engines.oil
- Add vin & createdAt in required state
**Telemetry API**
- Delete deprecated extensions : odometer & kinetic
- Delete deprecated data : engines.oil
- Add vehicle.wipingBlades enum in type parameter
**Webhook & Monitor**
- Add vehicle.trip in extendedEventParam list enum
**Maintenance API**
- Add vin in maintenance response and put it in required state
- Delete required state for daysBeforeMaintenance & mileageBeforeMaintenance
- Change updatedAt by createdAt in required state
**Others API**
- Add mapping for the following data/objects : lightingSystem.fog, drivingBehavior, transmission.gearbox.ratio, engines.thermic.extension.thermic.air, wipingBlades, energy.thermic.extension.comsumptions.instant
- Deprecated energy.thermic.extension.comsumption which is replaced by energy.thermic.extension.comsumptions
- Add vin & createdAt in required state
- Update summary description
- Add vin & createdAt in required state in Alerts API
- Delete deprecated reduced in Waypoints API
- Add id data in required state in Fleet API
- Add vin & createdAt in required state in Collisions API
- version: "3.3.0"
availability: not_in_use
release_date: '02 Jun 2022'
description: |-
**API Maintenance**
- Fix spelling error on data daysBeforeMaintenance
**API Monitor**
- Add new data trigger monitor : vehicle.trip.start & vehicle.trip.stop
**Fleets API**
- Add remote/callback link
**Webhook API**
- Add missing fleetID in monitor event notification
**Others**
- Add missing link telemetry for vehicles APIs
- Update swagger structure & commentary
- Change unit of fuel consumption
- Add energy type hydrogen
- Change unit of energy.extension.electric.residual
- Update energy.type description
- Delete unused battery.current, lightingSystem.position, engines.extension.thermic.scr data & brakingSystem object
- version: "3.2.0"
availability: not_in_use
release_date: '27 Jan 2022'
description: |-
- Add monitor airConditioning
- Add remote failureCause : CanceledByDriver
- driver approval deprecated
- Add remote precond prog delete features
- Remote doors: Forced field deprecedated
- version: "3.1.1"
availability: not_in_use
release_date: '18 Oct 2021'
description: |-
- Update typo for "depricated"
- Remove unused deprecated structure in vehicle.energy
- Add unit for engine.speed and environment.air.temp
- Update description for all pageSize parameters
- version: "3.1.0"
availability: not_in_use
release_date: '28 Jul 2021'
description: |-
- Update remote navigation command (SENDTONAV)
- Refactoring of odometer & kinetic in telemetry & status
- Update pageSize & pageToken for telemtry & waypoints
- version: "3.0.9"
availability: not_in_use
release_date: '25 Jun 2021'
description: |-
- Update Trigger name creation for monitor
- Refactoring of the vehicle structure (Removing unused embedded)
- Update charging & preconditionning remote command
- Update alertEnum
- Add remote navigation command
- Update Kinetic bloc
- version: "3.0.8"
availability: not_in_use
release_date: '19 Apr 2021'
description: |-
- Update FailureCause for remote callbacks
- Add "forced" parameter for doors remotes
- Update lockedStates format for remotes
- Update pattern for trigger names
- Remove telemetry Links for fleets
- Correct wakeUp for remote actions
- Remove label for GET /Vehicles
- Update alert vehicle list
- Add slot parameter as mandatory for remote preconditionning command
- version: "3.0.7"
availability: not_in_use
release_date: '24 Feb 2021'
description: |-
- Remove fleet/{fid}/telemetries API
- version: "3.0.6"
availability: not_in_use
release_date: '9 Feb 2021'
description: |-
- Update Typo (Description, Patterns...)
- Update DoorState & mileage object
- Remove collisions API
- Add NextDelayedTime as mandatory for remote Charging
- Add RemoteType WakeUp
- Add 2 new enum for lockedState
- version: "3.0.5"
availability: not_in_use
release_date: '6 Jan 2021'
description: |-
- Fix door.states enum by vehicle.doorsStates in extendedEventParam object
- Fix alerts enum by vehicle.alerts in extendedEventParam object
- Replacement OnChange by onChange in monitors descriptions
- Replacement Estimate enum to Estimated in lastPosition object
- version: "3.0.4"
availability: not_in_use
release_date: '24 Nov 2020'
description: |-
#### MPH Addons&Changes:
- Remove duration from remote ligth
- Fix includedIn keyword
- Replacement of energy by energies in API Status & Telemetries
- Fix missing type for brand field in vehicles object
- Add missing format for type: number
- Add description for triggerParam>boolExp field in API Monitors
- fix startd for startedAt
#### Webhook Monitor Template change:
- Change extension body type from array to object
- version: "3.0.3"
availability: not_in_use
release_date: '14 Oct 2020'
description: |-
- Add Open API SPEC (V3) security schemes support.
- Add TimeStamps (query parameter) extension to support period.
- Reduce extension enum list for Telemetry API.
- Add Telemetry Type filtering query parameter to all telemetry getter API.
- Add wakeup remote.
- version: "3.0.0"
availability: not_in_use
release_date: '24 Mar 2020'
description: |-
#### `B2B-3.0.0 Remote`
Based on:
[B2B-2.1.0-Monitor-NG](https://github.psa-cloud.com/mph00/Spec/releases/edit/b2b_v2.1.0) (tag b2b_v2.1.0)
With major changes :
* Support of Car remote for B2B fleet management.
- version: "2.0.5"
availability: not_in_use
release_date: Wed Nov 20 2019
description: |-
#### `B2B Spec For PIV-RLEV 1.1`
Based on: [B2B Multi-Fleets support](https://github.psa-cloud.com/mph00/Spec/releases/tag/b2b_v2.0.4) (tag b2b_v2.0.4)
_With:_
#### API B2B
##### API Status
* Add RoofWindow to ```DoorsState#opening#identifier``` enum.
* Rename door state enum ```DoorsState#opening#state.Close``` to ```Closed```
* Add ```CargoDoorsLocked , RearDoorsUnlocked, RearDoorsLocked``` consts to ```DoorsState#lockedState``` enum.
* Add ```Safety``` struc to Status object
* Add ```ServiceType``` struct to Status object
* date-time review (align with stadar RFC 3339
* Add ```OverallAutonomy``` (with its own date) to status
* Add ```VehicleOdometer``` (with its own date) to status
* Change ```Status.createdAt``` to ```updatedAt```
* API vehicuel Status: add lockedStates array of state (compliant with new DC RLEV Spec) and make lockedState depricated.
* Change odometer field from type number to objet (VehicleOdometer).
* Remove autonomy field from status struct.
##### API Monitor
* Add ```PUT /monitors/{mid}```: update an existing monitor
* Add fields literalValue & objectValues to body#values struct (To monitor callback template)
##### Alert-ENUM
Fix enum spelling (*Collant -> *Coolant)
#### Huawei interface changes:
* Add tid to alert
* Add tid to collision
* Add ```Safety``` to Status object
* Add ```ServiceType``` to Status object
* Add done status to Trip object
* Add faults list to Trip object
* ADD timed.odometer to Status
* ADD ```overall.autonomy``` to Status
* Statusodometer & autonomy are now pricated
* Remove ResourceHeader from position to be compliant with GeoJSON
* Rename the field Position.point to geometry -->compliante GeoJSON
* Rename in ```Monitor.data.trigget```: privacy.status to privacy.state
* ```DoorsState.opening```: enum Close renamed to Closed
* ```DoorsState.opening```: Add RoofWindow to idenfier enum
* ```DoorsState.lockedState```: Add conts CargoDoorsUnlocked, RearDoorsUnlocked, RearDoorsLocked to lockedState
* API vehicule Status: add lockedStates array of state (compliant with new DC RLEV Spec) and make lockedState depricated
* Struct Status: ```odometer & autonomy``` are , from now, depricated.
* A new filed named ```vehicleOdometer``` (time stamped type) has been added to status
- version: "2.0.4"
availability: not_in_use
release_date: Mon Sep 23 2019
description: |-
#### `B2B Multi-Fleets support`
compound with: b2b_v2.0.3 + "Multi-Fleets" support .
##### API new:
-Now prefixed by
```/fleets/{fid}```
- add Monitor ```label``` field when creating monitor (POST)
- add vehicle autonomy value entry to monitor#data-trogger parameter.
##### Note:
Mapping Fleets(s) will be done on APIC side.
- version: "2.0.3"
availability: not_in_use
release_date:
description: |-
#### `Candiate version (Lot1/Version2)`
Spec version : b2b_v2.0.3
#### Release note:
Iso ```b2b_v2.0.2``` _1st candiate version (lot1)_ by adding:
##### B2B PSA Public API
* Add ```/fleet/collisins```
release_date: {tid}/wayPoint
* Status monitor enum changedescription: |-d : ```[Running, Paused, Failed]``` -> ```[Running, Paused]```
* Ignition: rename const Contact -> SrartUp
* Add Battery struct to Telemetry
* Refactoring list of results: using CollectionResult struct header
* Add MD doc : array of supported data trigger (value, description and operations)
* AlertMsgEnum: add mising anums
* TelemetryEnum: replace both ```vehicle.lightingSystem.signal``` and ```vehicle.lightingSystem.foglight``` by a uniq ```vehicle.lighting```
* Review Monitor#DataTrigger.data value enum (doc on allowed OP for Door Opening and Lock states))
##### Huawei interface
* Add Battery struct to Telemetry
* Make waypoints API pageable
* Fix spelling "Maintenace" -> "Maintenance"
* Add ```reduced``` to waypoints result to determines whether this result set has been reduced or not.
* Review Monitor#DataTrigger.data value enum (doc on allowed OP for Door Opening and Lock states))
- version: "2.0.2"
availability: not_in_use
release_date: Fri Jun 14 2019
description: |-
#### `1st candiate version (lot1)`
- version: "2.0.1"
availability: not_in_use
release_date: Wed Jun 12 2019
description: |-
Content : b2b_v2.0.0 with supported object in extensions
- version: "2.0.0"
availability: not_in_use
release_date: Wed Jun 12 2019
description: |-
#### `B2B - Partners Release - `
#### PSA/Huawei interfacing review:
##### Monitor :
* add the extension and refresh-event support
* remove callback
* add compound trigger support
##### Pull:
* add Telemetry
* add vin to batch resources
* add update-date to batch resources
* add an extension to telemetry API (resource: location, alerts, collision, maintenance)
#### PSA Public interface:
##### Monitor:
* add extension
* add compound trigger support
##### Pull:
* add Telemetry
* add vin to batch resources
* add update-date to batch resources
* add an extension to telemetry API (resource: location, alerts, collision, maintenance).
- version: "1.0.0"
availability: not_in_use
release_date: Tue May 07 2019
description: |-
#### `1st release (B2B)`
* As delivered to Huawei regarding interfacing API
* As delivered to MPH/API team regarding public B2B API