cURL
curl --request PATCH \ --url https://jamquest-dev.techboo.net/api/v1/music/requests-update/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "accepted" } '
{ "status": "ok", "message": "<string>", "data": { "id": 123, "user_id": 123, "dj_id": 123, "song_title": "<string>", "artist_name": "<string>", "artist_type": "<string>", "music_url": "<string>", "fee": 123, "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
accepted
rejected
played
Music request updated successfully
"ok"
Show child attributes