5.4 KiB
5.4 KiB
10000
Success
Successfully requested
20000
No enough times
No enough times to song
30000
Forbidden
Wrong Access (For User)
/api/search
POST
keyword
string
keyword of the song
token
string
user token
Json
code
int
response code
content
list
list of songs
pid
int
platform id
id
int
song id(platform)
name
string
name of song
artists
list
list of artists
album
dict
album of this song
url
string
the media url of this song (source platform or system cache)
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
/api/history
GET
Nothing
Json
code
int
response code
content
list
list of history songs
pid
int
platform id
id
int
song id(platform)
name
string
name of song
artists
list
list of artists
album
dict
album of this song
url
string
the media url of this song (system cache)
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
/api/list
GET
Nothing
Json
code
int
response code
content
dict
dict of list, included whitelist and blacklist
white
list
songs list of whitelist
black
list
songs list of blacklist
pid
int
platform id
id
int
song id(platform)
name
string
name of song
artists
list
list of artists
album
dict
album of this song
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
platform
int
platform id
id
int
id of the song
/api/detail
POST
platform
int
id of the platform
id
int
id of the song
token
string
user token
Json
code
int
response code
content
list
list of songs
pid
int
platform id
id
int
song id(platform)
name
string
name of song
artists
list
list of artists
album
dict
album of this song
url
string
the media url of this song (source platform or system cache)
id
int
artist id(platform)
name
string
name of this artist
cover
string
image url of this aritist
id
int
album id(platform)
name
string
name of this album
cover
string
image url of this album
/api/detail
POST
platform
int
id of the platform
id
int
id of the song
date
string
YYYY-MM-DD
token
string
user token
Json
code
int
response code