mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-10 05:39:38 +05:00
add api to get playlist tracks and just track
This commit is contained in:
12
docs/API.md
12
docs/API.md
@@ -26,6 +26,12 @@ Search for users, tracks or playlists. Query parameters are:
|
||||
|
||||
For example: `/_/api/search?q=test&type=tracks` to search for `tracks` named `test`
|
||||
|
||||
## GET `/_/api/track/:id`
|
||||
|
||||
Get track by ID.
|
||||
|
||||
For example: `/_/api/track/2014143543` to get track with ID `2014143543`
|
||||
|
||||
## GET `/_/api/track/:id/related`
|
||||
|
||||
Get related tracks by ID. Pagination is supported here. Initial request returns upto 20 tracks
|
||||
@@ -44,6 +50,12 @@ Get playlist by permalinks.
|
||||
|
||||
For example: `/_/api/playlistByPermalink/lucybedroque/sets/unmusique` to get `unmusique` playlist from `lucybedroque`
|
||||
|
||||
## GET `/_/api/playlistByPermalink/:author/sets/:playlist/tracks`
|
||||
|
||||
Get list of track IDs in playlist.
|
||||
|
||||
For example: `/_/api/playlistByPermalink/lucybedroque/sets/unmusique/tracks` to get all IDs of the tracks in playlist `unmusique` from `lucybedroque`
|
||||
|
||||
# Other automation
|
||||
|
||||
Doesn't require API to be enabled
|
||||
|
||||
Reference in New Issue
Block a user