Skip to content
anjanms edited this page Oct 21, 2015 · 4 revisions

Objects


userObject

{
    id: '5609c755970e920300a44e88',
    role: '52d1ce33c38a06510c000001',
    created: 1443481428717,
    username: 'fimbot',
    updated: 1445420367741,
    skippedCount: 0,
    playedCount: 0,
    songsInQueue: 0,
    active: true,
    dubs: 40,
    banned: false,
    bannedTime: 1444201288377,
    bannedUntil: 0,
    kickCount: 24,
    kickTime: 1444203623980,
    muted: false,
    order: 99999,
    dub: undefined
}

mediaObject

{
    id: '5607f956b0774d0300e4d448',
    name: '[FRAME] Tartarus ft. Ibeabronyrapper - F3nning - Feather',
    description: null,
    images: [Object],
    type: 'youtube',
    fkid: 'TzBWxIpz7rM',
    streamUrl: null,
    fileUrl: null,
    songLength: 295000,
    songBitrate: null,
    songMeta: null,
    created: 1443363158051
}

requestCallback

function(code, body) {}
Arguments

code number The response code of the request

body object The parsed response

Clone this wiki locally