Saves audio files after successful uploading.
This method can be called with a user token. Access rights required: audio.
server |
This parameter is returned when the audio file is uploaded to the server.
int (number), required parameter |
audio |
This parameter is returned when the audio file is uploaded to the server..
string, required parameter |
hash |
This parameter is returned when the audio file is uploaded to the server.
string |
artist |
The name of the artist. By default, this is obtained from ID3 tags.
string |
title |
The title of the audio file. By default, this is obtained from ID3 tags.
string |
Returns an array of audio object.
121 | Invalid hash |
123 | Invalid audio |
270 | The audio file was removed by the copyright holder and cannot be reuploaded |
301 | Invalid filename |
302 | Invalid filesize |
Global errors can occur while running. See their descriptions on this page.