Hust Musik
  1. Collection
Hust Musik
  • User
    • Get All Users
      GET
    • Get User By ID
      GET
    • Get User Profile
      GET
    • Get User Listen History
      GET
    • Get Followed Artists
      GET
    • Update User Profile
      POST
    • Get User Playlists
      GET
    • Upsert User Listen History
      POST
    • Follow Artist
      POST
    • Unfollow Artist
      DELETE
  • Song
    • Get All Songs
      GET
    • Add Song
      POST
    • Get Song By ID
      GET
    • Update Song
      POST
    • Delete Song
      DELETE
    • Generate Presigned Download
      GET
    • Generate Presigned Upload
      GET
  • Auth
    • Register User
      POST
    • Sign In
      POST
    • Sign Out
      GET
    • Google Sign In
      GET
    • Update User Credentials
      POST
    • Renew Session
      POST
  • Artist
    • Get All Artists
    • Get Artist By ID
    • Add Artist
    • Update Artist
    • Delete Artist
  • Collection
    • Get All Collections
      GET
    • Get All Playlists
      GET
    • Get All Albums
      GET
    • Get Collection By ID
      GET
    • Add Collection
      POST
    • Update Collection
      POST
    • Delete Collection
      DELETE
    • Add Song To Collection
      POST
    • Delete Song From Collection
      DELETE
  • Search
    • Default Search
    • Search Songs
    • Search Albums
    • Search Playlists
    • Search Users
    • Search Artists
  • Payment
    • Create Zalo Order
    • Get Zalo Order Status
  • Check Health
    GET
  1. Collection

Get All Collections

GET
/v1/collection/
Collection

Request

Query Params
page
integer 
optional
Example:
1
limit
integer 
optional
Example:
20

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.hustmusik.live/v1/collection/?page=1&limit=20'

Responses

🟢200Success
application/json
Body
data
array [object {5}] 
required
id
string 
optional
title
string 
optional
type
string 
optional
thumbnailurl
string 
optional
owner
object 
optional
Example
{"data":[{"id":"84314965-219d-47a9-a4cf-5cc0b4cf15d6","title":"Test","type":"Playlist","thumbnailurl":"<image link>","owner":{"id":"aa587095-a604-4c32-9215-ac74a1db33d5","username":"TestUpdated"}}]}
Modified at 2024-11-03 14:47:00
Previous
Delete Artist
Next
Get All Playlists
Built with