Description: Inquire uploaded audio files.
Parameters | Description | Required | Type |
---|---|---|---|
current |
Current page number: 1-N, default 1, cannot be passed empty |
No |
Int |
size |
Number displayed on each page: 1-100, default 25, cannot be passed empty |
No |
Int |
https://api.onbuka.com/v3/voice/fileQuery
RequestURL:
https://api.onbuka.com/v3/voice/fileQuery
RequestMethod:
POST
RequestHeaders:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
RequestBody:
{
"current": 1,
"size": 10
}
Parameters | Description | Type |
---|---|---|
status |
"0"means successful, others than 0 means failure, seeing Status code description. |
String |
reason |
Failure reason description |
String |
data |
Data on each page |
JSONObject |
total |
Total record number |
Int |
size |
Number displayed on each page |
Int |
current |
Current page number |
Int |
pages |
Total pages |
Int |
records |
Data set |
JSONArray |
fileId |
Audio file ID |
String |
fileName |
Audio file name |
String |
{
"status": "0",
"reason": "success",
"data": {
"total" :5,
"size": 20,
"current": 1,
"pages": 1,
"records": [
{
"fileId": "1202202254d4c6372d6f341e999c7ecd0683ee464.mp3",
"fileName": "test.mp3"
}
]
}
}
Feedback
Need help?
Click here and start chatting with us!