Updated remote api documentation (markdown)

casey langen 2018-01-27 11:36:06 -08:00
parent 2fa4658ebd
commit b69cc014e9

@ -344,7 +344,8 @@ play the track at the specified index in the current play queue
"id": "<unique_id>",
"device_id": "<unique_device_id>",
"options": {
"index": <int32>
"index": <int32>, /* optional */
"time": <double> /* in seconds. optional */
}
}
```
@ -362,6 +363,7 @@ replace the current play queue with all tracks (filtered by optional keywords),
"device_id": "<unique_device_id>",
"options": {
"index": <int32>, /* optional */
"time": <double>, /* in seconds. optional */
"filter": "<filter>" /* optional */
}
}
@ -380,7 +382,8 @@ replaces the current play queue with the specified array of tracks, and starts p
"device_id": "<unique_device_id>",
"options": {
"ids": [ /* array of int64 ids */],
"index": <int32> /* optional */
"index": <int32>, /* optional */
"time": <double> /* in seconds. optional */
}
}
```
@ -1091,6 +1094,26 @@ as described in the `snapshot_play_queue` documentation, snapshots not accessed
**response**: generic success/failure response.
### play_snapshot_tracks (0.36.0+)
replaces the play queue with the snapshot for the specified `device_id`, and starts playback at the specified index and time.
**request**:
```
{
"name": "play_snapshot_tracks ",
"type": "request",
"id": "<unique_id>",
"device_id": "<unique_device_id>",
"options": {
"index": <int32>, /* optional */
"time": <double> /* in seconds. optional */
}
}
```
**response**: generic success/failure response.
# http urls
## audio data