JlSonic/airsonic.rest

68 lines
2.0 KiB
ReStructuredText

# -*- restclient -*-
:url = https://music.nixo.xyz/rest
:token = aca7a0d5412138863f361df08e738378
:username = nixo
:salt = 2ob56atgdr8htkpdg5478c6tfj
:auth = ?u=:username&t=:token&s=:salt
# Used to test connectivity with the server. Takes no extra parameters.
GET :url/ping
# Get details about the software license. Takes no extra parameters.
GET :url/getLicense
# Returns all configured top-level music folders. Takes no extra parameters.
GET :url/getMusicFolders:auth
#
GET :url/getMusicDirectory:auth&id=fab34286-b8e1-4879-bce3-194e1358fbd2
# Returns all genres.
GET :url/getGenres:auth
# Similar to getIndexes, but organizes music according to ID3 tags.
GET :url/getArtists:auth
# Returns details for an artist, including a list of albums. This method organizes music according to ID3 tags.14d44067-99c2-4f77-b58b-138f0b6911fa
GET :url/getArtist:auth&id=fab34286-b8e1-4879-bce3-194e1358fbd2
# Returns details for an album, including a list of songs. This method organizes music according to ID3 tags.
GET :url/getAlbum:auth&id=8df732d3-fcb2-430f-9bfb-aacf4662a602
# Returns details for a song.
GET :url/getSong:auth&id=91276ac8-a0ae-464d-875e-9a2e97315bfb
# Returns a cover art image.
GET :url/getCoverArt:auth&id=7167f941-efef-49dd-a54f-8e2d41e3f4a7
# Stream
GET :url/stream:auth&id=91276ac8-a0ae-464d-875e-9a2e97315bfb
# Get playlists
GET :url/getPlaylists:auth
# Get single playlist
GET :url/getPlaylist:auth&id=1455e415-8718-4453-a5f5-490a00b62d34
# Get not owned playlist
GET :url/getPlaylist:auth&id=799f5074-5db2-4daa-b449-9677d0c7744c
# Delete not owned playlist
GET :url/deletePlaylist:auth&id=799f5074-5db2-4daa-b449-9677d0c7744c
# Update not owned playlist
GET :url/updatePlaylist:auth&playlistId=e39d8798-473e-45a9-8a1f-d5d0485ed274
# Update owned playlist
GET :url/updatePlaylist:auth&playlistId=a2df9320-4775-40a5-9830-8960f3eb9203&name=nuovo
# Delete owned playlist
GET :url/deletePlaylist:auth&id=a2df9320-4775-40a5-9830-8960f3eb9203
# Get random songs
GET :url/getRandomSongs:auth
# Search3
GET :url/search3:auth&query=moonbathers