Skip to content

Commit 97d835a

Browse files
committed
model: Add new fields for /api/v3/car/download/<id> endpoint
These currently do not seem to be used for anything. They are all empty strings, even for new ccNC vehicles. Fixes: #18 Signed-off-by: Andrew Gunnerson <[email protected]>
1 parent 9057fa9 commit 97d835a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/model.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ pub struct Environment {
130130
pub download_prefix: String,
131131
/// Base URL for all firmware file downloads.
132132
pub download_root_path: String,
133+
/// Empty string.
134+
pub is_online_navi: String,
133135
/// Platform technical name (eg. `GEN5_WIDE`). Appears to be a suffix of
134136
/// [`Self::dest_root_path`].
135137
pub model_prefix: String,
@@ -159,6 +161,10 @@ pub struct File {
159161
pub file_path: String,
160162
/// Size of the tar file inside the zip.
161163
pub file_size: String,
164+
/// Empty string.
165+
pub region: String,
166+
/// Empty string.
167+
pub sub_region: String,
162168
/// Unknown version number. Does not appear to correlate with other version
163169
/// numbers.
164170
pub version: String,

0 commit comments

Comments
 (0)