get-bgm-list

Use the interface to get the BGM list.

Request Mode

 POST http://ip/mwapi/get-bgm-list

Response Body

JSON structure is as follows:

{
    "info": {
        "musicList": [{...}],
        "pageIndex": 0,
        "totalCount": 3
    },
    "message": "success",
    "result": 0
}
1. Response Status
"result": 0
Name Description
result Same as status. 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.
pageIndex Shows the page number: 0, 1, 2...
totalCount Shows the total number of items
2. BGM List of Current Page (bgmList {...})
"bgmList":[
            {
                "artist": "Magewell",
                "duration": 231000,
                "id": 2006,
                "title": "Magewell 01"
            },
            {
                "artist": "Magewell",
                "duration": 194000,
                "id": 2038,
                "title": "Magewell 02"
            },
            {
                "artist": "Magewell",
                "duration": 240000,
                "id": 2037,
                "title": "Magewell 03"
            }
        ]
Name Description
id The BGM ID
title The song name
artist The artist
duration The duration in ms

results matching ""

    No results matching ""