mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 16:46:17 +00:00
Build the regression net the API route layout note calls for, before any
route refactoring: mine real recorded speaker traffic (Bose_Lisa UA) into a
coverage checklist and fill the high-priority, dependency-free gaps.
- COVERAGE.md: inventory of frozen speaker routes (method + status) mapped to
covering .http files, with the remaining gaps classified by priority.
- New flows, all asserting status/content-type/structure with the firmware UA:
- GET /v1/auth (app-key probe)
- POST /v1/scmudc/{deviceId} (telemetry upload)
- GET /core02/.../orion/station (Orion custom-stream adapter)
- GET /custom/v1/playback/{encodedURL} (LOCAL_INTERNET_RADIO / ding)
- POST /bmx/tunein/v1/report (STOP -> {}, START -> nextReportIn)
- GET /media/aftertouch-ding.wav (binary: status + content-type)
- GET /media/bmx-icons/{provider}/{file} (binary: status + content-type)
All request/response values use placeholder / RFC-5737 data; no recorded
bodies are committed. make test-http-client: 57 requests, 0 failed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
1.3 KiB
HTTP
19 lines
1.3 KiB
HTTP
### POST /v1/scmudc/{deviceId} (speaker telemetry / event upload)
|
|
###
|
|
### Speakers POST SCMUDC event envelopes (volume changes, presets, taps, ...) to
|
|
### the dead Bose host events.api.bosecm.com, DNS-intercepted to AfterTouch. The
|
|
### service accepts and records them (HandleAppEvents) and returns an empty 200.
|
|
### Body shape mirrors a real envelope; all ids are placeholders.
|
|
POST {{host}}/v1/scmudc/{{deviceId}}
|
|
User-Agent: Bose_Lisa/27.0.6
|
|
Accept: */*
|
|
Content-Type: text/json; charset=utf-8
|
|
|
|
{"envelope":{"monoTime":35173,"payloadProtocolVersion":"3.1","payloadType":"scmudc","protocolVersion":"1.0","time":"2026-01-01T00:00:00.000000+00:00","uniqueId":"{{deviceId}}"},"payload":{"deviceInfo":{"boseID":"{{accountId}}","deviceID":"{{deviceId}}","deviceType":"SoundTouch test","serialNumber":"{{serialNumber}}","softwareVersion":"27.0.6.46330.5043500 epdbuild.trunk.hepdswbld04.2022-08-04T11:20:29","systemSerialNumber":"{{productSerialNumber}}"},"events":[{"data":{"startTime":"2026-01-01T00:00:00.000000+00:00","volume-change":[28,28,28]},"monoTime":35173,"time":"2026-01-01T00:00:00.000000+00:00","type":"volume-change"}]}}
|
|
|
|
> {%
|
|
client.test("SCMUDC event accepted (200)", function() {
|
|
client.assert(response.status === 200, "Response status is not 200, got " + response.status);
|
|
});
|
|
%}
|