JlSonic/airsonic.rest

69 lines
2.0 KiB
ReStructuredText

# -*- restclient -*-
:url = http://localhost:8000/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=ba853904-ae25-4ebb-89d6-c44cfbd71bd2
# Returns details for an album, including a list of songs. This method organizes music according to ID3 tags.
GET :url/getAlbum:auth&id=f281e63f-589d-4691-8f13-9906ccc09aa0
# Returns details for a song.
GET :url/getSong:auth&id=e1ebe027-2e21-45c9-bff8-94ba538f895f
# Returns a cover art image.
GET :url/getCoverArt:auth&id=7167f941-efef-49dd-a54f-8e2d41e3f4a7
# Stream
GET :url/stream:auth&id=e1ebe027-2e21-45c9-bff8-94ba538f895f
# 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