diff --git a/docs/api-reference.md b/docs/api-reference.md index 68a485e..87dc87b 100644 --- a/docs/api-reference.md +++ b/docs/api-reference.md @@ -13,7 +13,14 @@ GET /api/tracks/:trackId is the canonical audio URL. ## Base URL -Default local server: +Reference server: + +```text +HTTP: http://mhsgroove.peterino.com:3001 +WS: ws://mhsgroove.peterino.com:3001 +``` + +Local development server: ```text HTTP: http://localhost:3001 @@ -738,7 +745,13 @@ Response: Connect to live channel state. -Example URL: +Reference server example URL: + +```text +ws://mhsgroove.peterino.com:3001/api/channels/default/ws +``` + +Local example URL: ```text ws://localhost:3001/api/channels/default/ws @@ -1512,4 +1525,3 @@ A working synced frontend only needs: 7. Queue rendering that accepts sparse `queue` updates. Everything else is additive. - diff --git a/docs/buildme.md b/docs/buildme.md index 64dcade..a7f74fb 100644 --- a/docs/buildme.md +++ b/docs/buildme.md @@ -20,6 +20,10 @@ Use the Blastoise API documented in docs/api-reference.md. The server owns channel state and time. The client owns UI, local audio playback, local caching, and drift correction. +Reference server for testing: +- HTTP base URL: http://mhsgroove.peterino.com:3001 +- WebSocket base URL: ws://mhsgroove.peterino.com:3001 + Core rule: - Always identify tracks by track.id. - Always play audio from /api/tracks/:trackId.