Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete a playlist #36

Closed
simonv3 opened this issue Apr 17, 2022 · 4 comments
Closed

Delete a playlist #36

simonv3 opened this issue Apr 17, 2022 · 4 comments
Labels
enhancement New feature or request needs: api Needs something changed on the resonate API
Milestone

Comments

@simonv3
Copy link
Collaborator

simonv3 commented Apr 17, 2022

https://api.resonate.coop/v2/docs?urls.primaryName=User%20Trackgroups%20API%20Service

@simonv3 simonv3 added the enhancement New feature or request label Apr 17, 2022
@simonv3 simonv3 added this to the 0.3.0 First new features milestone Apr 18, 2022
@simonv3 simonv3 added the good first issue Good for newcomers label Apr 19, 2022
@simonv3
Copy link
Collaborator Author

simonv3 commented Apr 21, 2022

This looks like it's currently disabled on the API

DELETE https://stream.resonate.coop/api/v2/user/trackgroups/<id>

Response
{"status":403,"message":"Trackgroup cannot be deleted right now because it is currently enabled. You must contact our staff.","data":null}

The UI for this has been put in place.

@simonv3 simonv3 added needs: api Needs something changed on the resonate API and removed good first issue Good for newcomers labels Apr 21, 2022
@simonv3 simonv3 removed this from the Playlists, Queues, and Tests milestone Apr 21, 2022
@simonv3
Copy link
Collaborator Author

simonv3 commented Apr 23, 2022

So it turns out this is happening because the API sets tracks to "enabled" by default, which is something only moderators can toggle. But it's probably a bug that users can't delete their own playlists. Need to file a bug for that on tracks-api.

@simonv3
Copy link
Collaborator Author

simonv3 commented Apr 25, 2022

@simonv3
Copy link
Collaborator Author

simonv3 commented Apr 25, 2022

Looks like this is fixed on the API so we should test it and see

@simonv3 simonv3 added this to the 0.4.0 milestone Apr 27, 2022
simonv3 added a commit that referenced this issue May 1, 2022
@simonv3 simonv3 closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs: api Needs something changed on the resonate API
Projects
None yet
Development

No branches or pull requests

1 participant