From da081f6425d001b07295731dda66314f689d4a42 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sat, 6 Jun 2026 15:01:16 +0200 Subject: [PATCH] chore --- tests/integration/http-client/COVERAGE.md | 114 +++++++++++----------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/tests/integration/http-client/COVERAGE.md b/tests/integration/http-client/COVERAGE.md index a349347..3350242 100644 --- a/tests/integration/http-client/COVERAGE.md +++ b/tests/integration/http-client/COVERAGE.md @@ -26,56 +26,56 @@ Legend: ✅ covered · ⬜ gap · 〰️ partial (some status/variant uncovered) ## Frozen speaker routes -| Method | Route | Status(es) observed | Covered by | State | -|--------|-------|---------------------|------------|-------| -| GET | `/streaming/account/{a}/full` | 200, 304 | `get_full_account.http`, `get_full_account_conditional.http` | ✅ | -| GET | `/streaming/account/{a}/devices` | 200 | `get_account_devices.http` | ✅ | -| GET | `/streaming/account/{a}/sources` | 200 | `get_account_sources.http` | ✅ | -| GET | `/streaming/account/{a}/presets/all` | 200 | `get_account_presets.http` | ✅ | -| GET | `/streaming/account/{a}/provider_settings` | 200 | `get_provider_settings.http` | ✅ | -| POST | `/streaming/account` (+ `/login`) | 201/200 | `create_account.http` | ✅ | -| POST | `/streaming/account/{a}/device/` | 201 | `register_device.http` | ✅ | -| PUT | `/streaming/account/{a}/device/{d}` | 200, 401 | `rename_device.http` | 〰️ (401 gap) | -| DELETE | `/streaming/account/{a}/device/{d}` | 200 | `unregister_device.http` | ✅ | -| GET | `/streaming/account/{a}/device/{d}/group/` | 200 | `get_group.http` | ✅ | -| GET | `/streaming/account/{a}/device/{d}/presets` | 200, 304 | `get_presets.http`, `get_presets_conditional.http` | ✅ | -| PUT | `/streaming/account/{a}/device/{d}/preset/{n}` | 200 | `set_preset_5/6.http` | ✅ | -| DELETE | `/streaming/account/{a}/device/{d}/preset/{n}` | 200 | `delete_preset_6.http` | ✅ | -| POST | `/streaming/account/{a}/device/{d}/recent` | 201 | `post_recent.http` | ✅ | -| GET | `/streaming/account/{a}/device/{d}/recents` | 200 | `get_recents.http` | ✅ | -| POST | `/streaming/account/{a}/source` | 200 | `set_preset_5.http` | ✅ | -| POST | `/streaming/account/{a}/group/` | 201 | `create_group.http` | ✅ | -| DELETE | `/streaming/account/{a}/group/` | 200 | `delete_group.http` | ✅ (account-level teardown) | -| DELETE | `/streaming/account/{a}/group/{id}` | 200 | `delete_group.http` | ✅ | -| GET | `/streaming/device/{d}/streaming_token` | 200 | `get_streaming_token.http` | ✅ | -| GET | `/streaming/software/update/account/{a}` | 200 | `get_software_update.http` | ✅ | -| GET | `/streaming/sourceproviders` | 200 | `get_sourceproviders.http` | ✅ | -| GET | `/streaming/resources/api_versions.xml` | 200 | `get_api_versions.http` | ✅ | -| POST | `/streaming/support/power_on` | 200 | `power_on.http` | ✅ | -| POST | `/streaming/support/customersupport` | 200 | `customer_support.http` | ✅ | -| POST | `/streaming/music/musicprovider/{id}/is_eligible` | 200 | `post_musicprovider_is_eligible.http` | ✅ | -| POST | `/accounts/{a}/devices` | 201 | `register_device.http` | ✅ | -| DELETE | `/accounts/{a}/devices/{d}` | 200 | `unregister_device.http` | ✅ | -| GET | `/updates/soundtouch` | 200 | `get_soundtouch_updates.http` | ✅ | -| GET | `/v1/auth` | 200, 403, 404 | `get_speaker_auth.http` | ✅ (200; 403/404 probe/edge) | -| POST | `/v1/scmudc/{d}` | 200 | `post_scmudc_event.http` | ✅ | -| GET | `/v1/blacklist/{d}` | 405 | `get_blacklist.http` | ✅ (currently ignored: 405 stub) | -| POST | `/alexa/certificate` | 501 (rare 200) | `post_alexa_certificate.http` | ✅ (currently ignored: 501 stub) | -| GET | `/bmx/registry/v1/services` | 200 | `get_bmx_services.http` | ✅ | -| GET | `/bmx/registry/v1/servicesAvailability` | 200 | `get_bmx_services_availability.http` | ✅ | -| POST | `/bmx/tunein/v1/token` | 200 | `tunein_playback_station.http` | ✅ | -| GET | `/bmx/tunein/v1/playback/station/{stationID}` | 200, 401 | `tunein_playback_station.http` | ✅ (offline via mock-tunein) | -| GET | `/bmx/tunein/v1/playback/episode(s)/{episodeID}` | 200 | — | ⬜ (needs mock fixture, see TUNEIN-MOCK-MISSING.md) | -| POST | `/bmx/tunein/v1/report` | 200 | `post_tunein_report.http` | ✅ | -| POST/DELETE | `/bmx/tunein/v1/favorite/{stationID}` | 202 | `tunein_favorite.http` | ✅ (local-only) | -| GET | `/core02/svc-bmx-adapter-orion/prod/orion/station` | 200 | `get_orion_station.http` | ✅ | -| GET | `/custom/v1/playback/{encodedURL}` | 200 | `get_custom_playback.http` | ✅ | -| GET | `/media/aftertouch-ding.wav` | 200 (binary) | `get_media_ding.http` | ✅ | -| GET | `/media/bmx-icons/{provider}/{file}` | 200 (binary) | `get_bmx_icon.http` | ✅ | -| GET | `/media/tts/{hash}.mp3` | 200, 404 (binary) | — | ⬜ (depends on prior TTS) | -| GET | `/ced/soundtouch/.../index.xml` | 200 | `get_ced_index.http` | ✅ (absent paths 404) | -| POST | `/oauth/device/{d}/.../15/token/cs3` | 200 | `post_oauth_token.http` | ✅ | -| POST | `/oauth/device/{d}/.../20/token/cs1` | 200 | `post_oauth_token_amazon.http` | ✅ | +| Method | Route | Status(es) observed | Covered by | State | +|-------------|----------------------------------------------------|---------------------|--------------------------------------------------------------|----------------------------------------------------| +| GET | `/streaming/account/{a}/full` | 200, 304 | `get_full_account.http`, `get_full_account_conditional.http` | ✅ | +| GET | `/streaming/account/{a}/devices` | 200 | `get_account_devices.http` | ✅ | +| GET | `/streaming/account/{a}/sources` | 200 | `get_account_sources.http` | ✅ | +| GET | `/streaming/account/{a}/presets/all` | 200 | `get_account_presets.http` | ✅ | +| GET | `/streaming/account/{a}/provider_settings` | 200 | `get_provider_settings.http` | ✅ | +| POST | `/streaming/account` (+ `/login`) | 201/200 | `create_account.http` | ✅ | +| POST | `/streaming/account/{a}/device/` | 201 | `register_device.http` | ✅ | +| PUT | `/streaming/account/{a}/device/{d}` | 200, 401 | `rename_device.http` | 〰️ (401 gap) | +| DELETE | `/streaming/account/{a}/device/{d}` | 200 | `unregister_device.http` | ✅ | +| GET | `/streaming/account/{a}/device/{d}/group/` | 200 | `get_group.http` | ✅ | +| GET | `/streaming/account/{a}/device/{d}/presets` | 200, 304 | `get_presets.http`, `get_presets_conditional.http` | ✅ | +| PUT | `/streaming/account/{a}/device/{d}/preset/{n}` | 200 | `set_preset_5/6.http` | ✅ | +| DELETE | `/streaming/account/{a}/device/{d}/preset/{n}` | 200 | `delete_preset_6.http` | ✅ | +| POST | `/streaming/account/{a}/device/{d}/recent` | 201 | `post_recent.http` | ✅ | +| GET | `/streaming/account/{a}/device/{d}/recents` | 200 | `get_recents.http` | ✅ | +| POST | `/streaming/account/{a}/source` | 200 | `set_preset_5.http` | ✅ | +| POST | `/streaming/account/{a}/group/` | 201 | `create_group.http` | ✅ | +| DELETE | `/streaming/account/{a}/group/` | 200 | `delete_group.http` | ✅ (account-level teardown) | +| DELETE | `/streaming/account/{a}/group/{id}` | 200 | `delete_group.http` | ✅ | +| GET | `/streaming/device/{d}/streaming_token` | 200 | `get_streaming_token.http` | ✅ | +| GET | `/streaming/software/update/account/{a}` | 200 | `get_software_update.http` | ✅ | +| GET | `/streaming/sourceproviders` | 200 | `get_sourceproviders.http` | ✅ | +| GET | `/streaming/resources/api_versions.xml` | 200 | `get_api_versions.http` | ✅ | +| POST | `/streaming/support/power_on` | 200 | `power_on.http` | ✅ | +| POST | `/streaming/support/customersupport` | 200 | `customer_support.http` | ✅ | +| POST | `/streaming/music/musicprovider/{id}/is_eligible` | 200 | `post_musicprovider_is_eligible.http` | ✅ | +| POST | `/accounts/{a}/devices` | 201 | `register_device.http` | ✅ | +| DELETE | `/accounts/{a}/devices/{d}` | 200 | `unregister_device.http` | ✅ | +| GET | `/updates/soundtouch` | 200 | `get_soundtouch_updates.http` | ✅ | +| GET | `/v1/auth` | 200, 403, 404 | `get_speaker_auth.http` | ✅ (200; 403/404 probe/edge) | +| POST | `/v1/scmudc/{d}` | 200 | `post_scmudc_event.http` | ✅ | +| GET | `/v1/blacklist/{d}` | 405 | `get_blacklist.http` | ✅ (currently ignored: 405 stub) | +| POST | `/alexa/certificate` | 501 (rare 200) | `post_alexa_certificate.http` | ✅ (currently ignored: 501 stub) | +| GET | `/bmx/registry/v1/services` | 200 | `get_bmx_services.http` | ✅ | +| GET | `/bmx/registry/v1/servicesAvailability` | 200 | `get_bmx_services_availability.http` | ✅ | +| POST | `/bmx/tunein/v1/token` | 200 | `tunein_playback_station.http` | ✅ | +| GET | `/bmx/tunein/v1/playback/station/{stationID}` | 200, 401 | `tunein_playback_station.http` | ✅ (offline via mock-tunein) | +| GET | `/bmx/tunein/v1/playback/episode(s)/{episodeID}` | 200 | — | ⬜ (needs mock fixture, see TUNEIN-MOCK-MISSING.md) | +| POST | `/bmx/tunein/v1/report` | 200 | `post_tunein_report.http` | ✅ | +| POST/DELETE | `/bmx/tunein/v1/favorite/{stationID}` | 202 | `tunein_favorite.http` | ✅ (local-only) | +| GET | `/core02/svc-bmx-adapter-orion/prod/orion/station` | 200 | `get_orion_station.http` | ✅ | +| GET | `/custom/v1/playback/{encodedURL}` | 200 | `get_custom_playback.http` | ✅ | +| GET | `/media/aftertouch-ding.wav` | 200 (binary) | `get_media_ding.http` | ✅ | +| GET | `/media/bmx-icons/{provider}/{file}` | 200 (binary) | `get_bmx_icon.http` | ✅ | +| GET | `/media/tts/{hash}.mp3` | 200, 404 (binary) | — | ⬜ (depends on prior TTS) | +| GET | `/ced/soundtouch/.../index.xml` | 200 | `get_ced_index.http` | ✅ (absent paths 404) | +| POST | `/oauth/device/{d}/.../15/token/cs3` | 200 | `post_oauth_token.http` | ✅ | +| POST | `/oauth/device/{d}/.../20/token/cs1` | 200 | `post_oauth_token_amazon.http` | ✅ | ## App / provisioning surface (app-called, not the speaker data-plane) @@ -83,13 +83,13 @@ The SoundTouch app (not the speaker) drives these. They are part of the frozen contract but a different audience; shapes are taken from `_/mitm` where a capture exists, otherwise from the handler (the current responses are canned / stubs). -| Method | Route | Status | Covered by | Source | -|--------|-------|--------|------------|--------| -| GET | `/streaming/account/{a}/emailaddress` | 200 | `get_emailaddress.http` | `_/mitm` capture | -| GET | `/customer/account/{a}` | 200 | `get_customer_profile.http` | handler (canned profile) | -| POST | `/customer/account/{a}` | 200 | `post_customer_profile.http` | handler (stub accept) | -| POST | `/customer/account/{a}/password` | 200 | `post_customer_profile.http` | handler (stub accept) | -| POST | `/streaming/account/login` | 200 | `create_account.http` | `_/mitm` capture | +| Method | Route | Status | Covered by | Source | +|--------|---------------------------------------|--------|------------------------------|--------------------------| +| GET | `/streaming/account/{a}/emailaddress` | 200 | `get_emailaddress.http` | `_/mitm` capture | +| GET | `/customer/account/{a}` | 200 | `get_customer_profile.http` | handler (canned profile) | +| POST | `/customer/account/{a}` | 200 | `post_customer_profile.http` | handler (stub accept) | +| POST | `/customer/account/{a}/password` | 200 | `post_customer_profile.http` | handler (stub accept) | +| POST | `/streaming/account/login` | 200 | `create_account.http` | `_/mitm` capture | ## Not observed (lower priority / no fixture)