@@ -115,7 +115,30 @@ curl http://localhost:9000/api/status
115115 "bytesSent" : 421000000 ,
116116 "bytesReceived" : 120 ,
117117 "lastFrequency" : 446524920 ,
118- "lastSampleRate" : 2048000
118+ "lastSampleRate" : 2048000 ,
119+ "lastCommand" : " set-frequency" ,
120+ "lastCommandAt" : " 2024-05-21T03:12:01.123Z" ,
121+ "lastCommandValue" : 446524920 ,
122+ "commandHistoryLimit" : 200 ,
123+ "commandStats" : [
124+ {
125+ "id" : 1 ,
126+ "name" : " set-frequency" ,
127+ "count" : 6 ,
128+ "lastValue" : 446524920 ,
129+ "lastSeenAt" : " 2024-05-21T03:12:01.123Z"
130+ }
131+ ],
132+ "commandHistory" : [
133+ {
134+ "id" : 1 ,
135+ "name" : " set-frequency" ,
136+ "value" : 446524920 ,
137+ "at" : " 2024-05-21T03:12:01.123Z" ,
138+ "clientId" : " client-1" ,
139+ "clientRemote" : " 192.168.1.50:50522"
140+ }
141+ ]
119142 }
120143}
121144```
@@ -181,7 +204,30 @@ curl http://localhost:9000/api/tuner-relay
181204 "bytesSent" : 421000000 ,
182205 "bytesReceived" : 120 ,
183206 "lastFrequency" : 446524920 ,
184- "lastSampleRate" : 2048000
207+ "lastSampleRate" : 2048000 ,
208+ "lastCommand" : " set-frequency" ,
209+ "lastCommandAt" : " 2024-05-21T03:12:01.123Z" ,
210+ "lastCommandValue" : 446524920 ,
211+ "commandHistoryLimit" : 200 ,
212+ "commandStats" : [
213+ {
214+ "id" : 1 ,
215+ "name" : " set-frequency" ,
216+ "count" : 6 ,
217+ "lastValue" : 446524920 ,
218+ "lastSeenAt" : " 2024-05-21T03:12:01.123Z"
219+ }
220+ ],
221+ "commandHistory" : [
222+ {
223+ "id" : 1 ,
224+ "name" : " set-frequency" ,
225+ "value" : 446524920 ,
226+ "at" : " 2024-05-21T03:12:01.123Z" ,
227+ "clientId" : " client-1" ,
228+ "clientRemote" : " 192.168.1.50:50522"
229+ }
230+ ]
185231}
186232```
187233
0 commit comments