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
//! Firmware/software update routes (`UpdatesAPI`).
// ----------------------------------- updates (`UpdatesAPI`) -----------------------------
use ;
use Method;
/// `GET /2.2/networks/{id}/updates` — available firmware/software updates.
///
/// Ported from `eero-api src/eero/api/updates.py:36-64` (`UpdatesAPI.get_updates`). Preferring
/// the network's own published `updates` link.
pub const GET_UPDATES_V8: Resource = Resource ;
/// `POST /2.2/networks/{id}/updates` — apply a pending update, same sub-resource as
/// [`GET_UPDATES_V8`].
///
/// Ported from `eero-api src/eero/api/updates.py:66-105` (`UpdatesAPI.apply_update`). New at
/// v8.0.4; no legacy `Route` equivalent (`apply_update` never existed pre-v8.0.0), so no rename
/// collision.
pub const UPDATES_APPLY_UPDATE: Resource = Resource ;
/// `POST /2.2/networks/{id}/updates/preferred_update_hour` — set the hour of day the network
/// applies firmware updates.
///
/// Ported from `eero-api src/eero/api/updates.py:107-137` (`UpdatesAPI.set_preferred_update_hour`),
/// new at v8.2.0. Template only (`link: None`): the network envelope publishes no link to this
/// resource, so the path is always built from the template.
pub const UPDATES_SET_PREFERRED_UPDATE_HOUR: Resource = Resource ;