- User
- Song
- Auth
- Artist
- Collection
- Search
- Payment
- Check HealthGET
Get Collection By ID
GET
/v1/collection/{id}
Collection
Request
Path Params
id
string
required
Example:
617a4207-0703-47f8-b5b0-17a4b0f1a4d8
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/617a4207-0703-47f8-b5b0-17a4b0f1a4d8'
Responses
🟢200Success
application/json
Body
data
object
required
id
string
required
title
string
required
description
null
required
type
string
required
thumbnailurl
string
required
owner
object
required
songs
array[string]
required
Example
{
"data": {
"id": "3dc708a7-6a1e-4700-9a0a-b65102ec9ddf",
"title": "Test",
"description": null,
"type": "Album",
"thumbnailurl": "<image link>",
"owner": {
"id": "aa587095-a604-4c32-9215-ac74a1db33d5",
"username": "TestUpdated",
"avatarurl": "<image link>"
},
"songs": []
}
}
Modified at 2024-11-08 12:41:16