Play Cider Song by ID
curl --request POST \
--url http://localhost:1234/api/services/cider/playback/play/{songId} \
--header 'quack: <quack>'const options = {method: 'POST', headers: {quack: '<quack>'}};
fetch('http://localhost:1234/api/services/cider/playback/play/{songId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'http://localhost:1234/api/services/cider/playback/play/{songId}';
const options = {method: 'POST', headers: {quack: '<quack>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "http://localhost:1234/api/services/cider/playback/play/{songId}"
headers = {"quack": "<quack>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:1234/api/services/cider/playback/play/{songId}"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("quack", "<quack>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}val client = OkHttpClient()
val request = Request.Builder()
.url("http://localhost:1234/api/services/cider/playback/play/{songId}")
.post(null)
.addHeader("quack", "<quack>")
.build()
val response = client.newCall(request).execute()HttpResponse<String> response = Unirest.post("http://localhost:1234/api/services/cider/playback/play/{songId}")
.header("quack", "<quack>")
.asString();Endpoints
Play Cider Song by ID
Play a song on Cider via its Apple Music ID
POST
/
api
/
services
/
cider
/
playback
/
play
/
{songId}
Play Cider Song by ID
curl --request POST \
--url http://localhost:1234/api/services/cider/playback/play/{songId} \
--header 'quack: <quack>'const options = {method: 'POST', headers: {quack: '<quack>'}};
fetch('http://localhost:1234/api/services/cider/playback/play/{songId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'http://localhost:1234/api/services/cider/playback/play/{songId}';
const options = {method: 'POST', headers: {quack: '<quack>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "http://localhost:1234/api/services/cider/playback/play/{songId}"
headers = {"quack": "<quack>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:1234/api/services/cider/playback/play/{songId}"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("quack", "<quack>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}val client = OkHttpClient()
val request = Request.Builder()
.url("http://localhost:1234/api/services/cider/playback/play/{songId}")
.post(null)
.addHeader("quack", "<quack>")
.build()
val response = client.newCall(request).execute()HttpResponse<String> response = Unirest.post("http://localhost:1234/api/services/cider/playback/play/{songId}")
.header("quack", "<quack>")
.asString();Request Headers
string
required
This header must be set to “quack”, otherwise requests will fail
Path Parameters
string
required
The new volume, from 0 to 1
JSON Response
⌘I

