DistributorAdminFulfill request
Create playlist with contents
Creates a new playlist for the given user in their root folder with the given songs. Requires admin privileges.
Authorization
BearerAuth Authorization<token>
Type "Bearer" followed by a space and JWT token.
In: header
Request Body
application/json
Create playlist with contents payload
name*string
song_ids*array<string>
user_id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/admin/fulfill-request" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "song_ids": [ "string" ], "user_id": "string" }'{
"created_at": "string",
"folder_id": "string",
"id": "string",
"name": "string",
"song_ids": [
"string"
],
"user": {
"id": "string",
"is_admin": true,
"root_folder_id": "string",
"username": "string"
},
"user_id": "string"
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}