POST
/api/devices/{device_id}/mirrorPoint a device at another device's shared playlist
Mirroring copies the master device's sharable playlist onto this device. The master must have visibility set to sharable.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
device_idintegerrequired
Device id
master_friendly_idstringrequired
friendly_id of the sharable device to mirror
200Mirroring the master
400master_friendly_id is missing
errorstringoptional
401Unauthorized
errorstringoptional
404Device belongs to another user
422The friendly ID is not one this device can mirror
errorstringoptional
Error handling
A 400 is returned: master_friendly_id is missing. A 401 is returned: Unauthorized. A 404 is returned: Device belongs to another user. A 422 is returned: The friendly ID is not one this device can mirror.