JlSonic/airsonic.rest

68 lines
2.0 KiB
ReStructuredText
Raw Permalink Normal View History

# -*- restclient -*-
2019-05-21 15:13:51 +02:00
:url = https://music.nixo.xyz/rest
2019-05-19 22:24:18 +02:00
:token = aca7a0d5412138863f361df08e738378
:username = nixo
2019-05-19 22:24:18 +02:00
: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
2019-05-21 11:05:53 +02:00
#
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
2019-05-21 11:05:53 +02:00
# Returns details for an artist, including a list of albums. This method organizes music according to ID3 tags.14d44067-99c2-4f77-b58b-138f0b6911fa
2019-05-21 15:13:51 +02:00
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.
2019-05-21 15:13:51 +02:00
GET :url/getAlbum:auth&id=8df732d3-fcb2-430f-9bfb-aacf4662a602
# Returns details for a song.
2019-05-21 15:13:51 +02:00
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
2019-05-21 15:13:51 +02:00
GET :url/stream:auth&id=91276ac8-a0ae-464d-875e-9a2e97315bfb
2019-05-19 22:24:18 +02:00
# Get playlists
GET :url/getPlaylists:auth
# Get single playlist
2019-05-21 11:05:53 +02:00
GET :url/getPlaylist:auth&id=1455e415-8718-4453-a5f5-490a00b62d34
2019-05-19 23:27:44 +02:00
# 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
2019-05-21 11:05:53 +02:00
GET :url/updatePlaylist:auth&playlistId=e39d8798-473e-45a9-8a1f-d5d0485ed274
2019-05-19 23:27:44 +02:00
# 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
2019-05-19 22:24:18 +02:00
2019-05-21 11:05:53 +02:00
# Get random songs
GET :url/getRandomSongs:auth
2019-05-21 15:13:51 +02:00
# Search3
GET :url/search3:auth&query=moonbathers