The GraphQL server is the best fit for UIs: typed schema, batched queries, and aDocumentation Index
Fetch the complete documentation index at: https://rockboxzig.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
track:changed / status:changed / playlist:changed
subscription stream over WebSocket.
- Endpoint —
http://localhost:6062/graphql - WebSocket —
ws://localhost:6062/graphql(graphql-wsprotocol) - GraphiQL —
http://localhost:6062/graphiql
crates/graphql/ and served by Juniper. All
client SDKs in SDKs wrap this transport.
Quick examples
Subscriptions
Three subscriptions are exposed:| Subscription | Payload | Fires when |
|---|---|---|
track | Track | The currently playing track changes |
playbackStatus | AudioStatus { status: Int } | Stopped/playing/paused changes |
playlist | Playlist | The live queue is mutated |
crates/server/src/lib.rs:start_broker().