Skip to navigation

Move a queued track

View as Markdown

Moves one track to another position in the queue. to is where it lands, so moving the last track to 0 puts it next up.

Path parameters

guildIdstringRequiredformat: "^\d{15,22}$"
indexintegerOptional0-199

Zero-based position in the queue, where 0 is the next track up.

Request

This endpoint expects an object.
tointeger or nullRequired>=0

Response

The moved track and the queue after it.
dataobject

Errors

403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error