Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 837 Bytes

booth_skip.md

File metadata and controls

59 lines (44 loc) · 837 Bytes

booth/skip Endpoint

The booth/skip endpoint enables you to skip the current DJ.

Note: You need to have sufficient permissions in the room to access this resource.

Endpoint

booth/skip

Method

POST

Parameters

userID: ID of the DJ you want to skip

historyID: History ID of the playback

{
    "userID": -1,
    "historyID": "xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx"
}

Possible error messages

Insufficient permissions

{
    "data": [
        "You are not authorized to access this resource."
    ],
    "status": "notAuthorized",
}

userID or historyID is missing

{
    "data": [
        "xxxxx is required"
    ],
    "status": "requestError",
}

Data returned

{
    'data': [],
    'meta': {},
    'status': 'ok',
    'time': 'xx.xxxxxxxxxxx'
}