You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Actually some cities are willing to understand the percentage of vehicle equipped with swappable batteries.
This information is usually related to the vehicle generation (v1,v2, etc ...)
Describe the solution you'd like
A potential solution that is non-breaking would be to add this field to the /vehicle endpoint
Is this a breaking change
No, not breaking
Impacted Spec
For which spec is this feature being requested?
provider
Describe alternatives you've considered
No other idea for now
Additional context
**Endpoint:** `/vehicles`
**Method:** `GET`
**[Beta feature][beta]:** Yes (as of 0.4.1)
**Schema:** [`vehicles` schema][vehicles-schema]
**`data` Payload:** `{ "vehicles": [] }`, an array of objects with the following structure
| Field | Type | Required/Optional | Comments |
| ----- | ---- | ----------------- | ----- |
| `generation` | string | Required | A string representing the vehicle version based on generation naming |
The text was updated successfully, but these errors were encountered:
Is vehicle generation or version enough information here? Should there also be a vehicle model number, or maybe that instead of the version? Is it assumed all cities will know about versions/models of provider vehicles, or should other properties be included explicitly, like 'swappable_battery' or 'wheel_size' or 'basket', etc? Maybe this is part of a larger vehicle properties conversation.
Agree that it could lead to a wider discussion on the vehicle properties, but at first, if MDS can expose this version (software layer ?) and generation (hardware layer ?) and we can do the mapping externally without making things too complicated.
Is your feature request related to a problem? Please describe.
Actually some cities are willing to understand the percentage of vehicle equipped with swappable batteries.
This information is usually related to the vehicle generation (v1,v2, etc ...)
Describe the solution you'd like
A potential solution that is non-breaking would be to add this field to the
/vehicle
endpointIs this a breaking change
Impacted Spec
For which spec is this feature being requested?
provider
Describe alternatives you've considered
No other idea for now
Additional context
The text was updated successfully, but these errors were encountered: