Index
API Methods
audio.addaudio.addToPlaylistaudio.createPlaylistaudio.deleteaudio.deletePlaylistaudio.editaudio.followPlaylistaudio.getaudio.getAlbumsByArtistaudio.getArtistByIdaudio.getAudiosByArtistaudio.getByIdaudio.getCountaudio.getLyricsaudio.getPlaylistByIdaudio.getPlaylistsaudio.getPopularaudio.getRecommendationsaudio.removeFromPlaylistaudio.reorderaudio.searchaudio.searchAlbumsaudio.searchArtistsaudio.searchPlaylists
General info
New API Methods
audio.reorder
Move one audio before other in my audios for a specified user
Parameters:
Name | Value |
---|---|
owner_id | User or community id (for example, obtained by users.get) |
audio_id | Audio id to move |
before | Id of the "other" audio to move before |
after | Id of the "other" audio to move after |
Either before
or after
parameter has to be specified.
Example (Kate):
$ownerId = 1;$audioId = 2;$beforeAudioId = 3;curl_setopt($ch,CURLOPT_URL,"https://api.vk.com/method/audio.reorder?access_token=".TOKEN."&owner_id=$ownerId&audio_id=$audioId&before=$beforeAudioId&v=5.95");