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
description: Fetches network data with optional filtering by cell_id or timestamp range. When filtering by timestamp, both timestamp_from and timestamp_to must be provided together to define a date range. Results are always sorted by timestamp.
4
+
parameters:
5
+
- name: cell_id
6
+
in: query
7
+
description: Filter results by cell identifier
8
+
required: false
9
+
schema:
10
+
type: string
11
+
example: "Filipino Community Center"
12
+
- name: timestamp_from
13
+
in: query
14
+
description: Start of timestamp range - must be used together with timestamp_to
15
+
required: false
16
+
schema:
17
+
type: string
18
+
format: date-time
19
+
example: "2021-03-25T06:56:36.806Z"
20
+
- name: timestamp_to
21
+
in: query
22
+
description: End of timestamp range - must be used together with timestamp_from
23
+
required: false
24
+
schema:
25
+
type: string
26
+
format: date-time
27
+
example: "2021-03-30T03:05:12.867Z"
28
+
responses:
29
+
'200':
30
+
description: A list of network data records, sorted by timestamp
31
+
content:
32
+
application/json:
33
+
schema:
34
+
type: array
35
+
items:
36
+
type: object
37
+
required:
38
+
- _id
39
+
- latitude
40
+
- longitude
41
+
- timestamp
42
+
- upload_speed
43
+
- download_speed
44
+
- data_since_last_report
45
+
- ping
46
+
- cell_id
47
+
- device_id
48
+
properties:
49
+
_id:
50
+
type: string
51
+
description: Unique identifier for the record
52
+
example: "614157263c28e1a473ede843"
53
+
latitude:
54
+
type: number
55
+
format: double
56
+
description: Geographic latitude coordinate
57
+
example: 47.681932654395915
58
+
longitude:
59
+
type: number
60
+
format: double
61
+
description: Geographic longitude coordinate
62
+
example: -122.31829217664796
63
+
timestamp:
64
+
type: string
65
+
format: date-time
66
+
description: Time when the measurement was recorded
67
+
example: "2021-01-25T18:43:54.370Z"
68
+
upload_speed:
69
+
type: number
70
+
format: double
71
+
description: Upload speed measurement
72
+
example: 7.289173724717997
73
+
download_speed:
74
+
type: number
75
+
format: double
76
+
description: Download speed measurement
77
+
example: 5.234371563131994
78
+
data_since_last_report:
79
+
type: number
80
+
format: double
81
+
description: Amount of data transferred since the previous report
82
+
example: 735.2343217314725
83
+
ping:
84
+
type: number
85
+
format: double
86
+
description: Network latency measurement
87
+
example: 137.41470114174285
88
+
cell_id:
89
+
type: string
90
+
description: Identifier for the cell/location where data was collected
91
+
example: "Filipino Community Center"
92
+
device_id:
93
+
type: string
94
+
description: Identifier for the device that collected the data
0 commit comments