Station Playback

The feature of the GraphQL API that you will probably use most is playback.  Different types of sources are available.  The API exposes a query to retrieve the current active source that was last set on the device and a mutation to start playback on a new source.

Head over to the API Explorer to get familiar with the Playback query and mutation. The playback reference documentation can get you started with some initial queries to try out.

Let’s look at the Sample Web App to see how the GraphQL API was used to play a station source.

See the following: