@@ -40,10 +40,11 @@ def list(
40
40
self ,
41
41
* ,
42
42
account_id : str ,
43
+ from_ : str ,
43
44
page : float ,
44
45
per_page : float ,
45
- time_end : str ,
46
- time_start : str ,
46
+ source : Literal [ "last_seen" , "hourly" , "raw" ] ,
47
+ to : str ,
47
48
colo : str | NotGiven = NOT_GIVEN ,
48
49
device_id : str | NotGiven = NOT_GIVEN ,
49
50
mode : str | NotGiven = NOT_GIVEN ,
@@ -63,13 +64,20 @@ def list(
63
64
List details for devices using WARP
64
65
65
66
Args:
67
+ from_: Timestamp in ISO format
68
+
66
69
page: Page number of paginated results
67
70
68
71
per_page: Number of items per page
69
72
70
- time_end: Timestamp in ISO format
73
+ source:
74
+ Source:
75
+
76
+ - `hourly` - device details aggregated hourly, up to 7 days prior
77
+ - `last_seen` - device details, up to 24 hours prior
78
+ - `raw` - device details, up to 7 days prior
71
79
72
- time_start : Timestamp in ISO format
80
+ to : Timestamp in ISO format
73
81
74
82
colo: Cloudflare colo
75
83
@@ -105,10 +113,11 @@ def list(
105
113
timeout = timeout ,
106
114
query = maybe_transform (
107
115
{
116
+ "from_" : from_ ,
108
117
"page" : page ,
109
118
"per_page" : per_page ,
110
- "time_end " : time_end ,
111
- "time_start " : time_start ,
119
+ "source " : source ,
120
+ "to " : to ,
112
121
"colo" : colo ,
113
122
"device_id" : device_id ,
114
123
"mode" : mode ,
@@ -137,10 +146,11 @@ def list(
137
146
self ,
138
147
* ,
139
148
account_id : str ,
149
+ from_ : str ,
140
150
page : float ,
141
151
per_page : float ,
142
- time_end : str ,
143
- time_start : str ,
152
+ source : Literal [ "last_seen" , "hourly" , "raw" ] ,
153
+ to : str ,
144
154
colo : str | NotGiven = NOT_GIVEN ,
145
155
device_id : str | NotGiven = NOT_GIVEN ,
146
156
mode : str | NotGiven = NOT_GIVEN ,
@@ -160,13 +170,20 @@ def list(
160
170
List details for devices using WARP
161
171
162
172
Args:
173
+ from_: Timestamp in ISO format
174
+
163
175
page: Page number of paginated results
164
176
165
177
per_page: Number of items per page
166
178
167
- time_end: Timestamp in ISO format
179
+ source:
180
+ Source:
181
+
182
+ - `hourly` - device details aggregated hourly, up to 7 days prior
183
+ - `last_seen` - device details, up to 24 hours prior
184
+ - `raw` - device details, up to 7 days prior
168
185
169
- time_start : Timestamp in ISO format
186
+ to : Timestamp in ISO format
170
187
171
188
colo: Cloudflare colo
172
189
@@ -202,10 +219,11 @@ def list(
202
219
timeout = timeout ,
203
220
query = maybe_transform (
204
221
{
222
+ "from_" : from_ ,
205
223
"page" : page ,
206
224
"per_page" : per_page ,
207
- "time_end " : time_end ,
208
- "time_start " : time_start ,
225
+ "source " : source ,
226
+ "to " : to ,
209
227
"colo" : colo ,
210
228
"device_id" : device_id ,
211
229
"mode" : mode ,
0 commit comments